Logotipo de Hof Oidc Sign In

Hof Oidc Sign In

Organización
openreachtech
hof-oidc-sign-in

Sign in through an external OpenID Connect identity provider in a Furo/Nuxt app: the full-page redirect to the provider, the callback page, and the return path kept across the trip. Use when adding a 'sign in with' button or an OIDC-only sign-in. Boundary: the session after sign-in follows the frontend cookie authentication convention; state, nonce, PKCE and the code exchange are the backend OIDC sign-in convention's.

Descripción general

Editoropenreachtech
Repositoriohora-skills-ort-furo
Nombre de la habilidadhof-oidc-sign-in
Estrellas
32
Forks
0
Archivos incluidos
2
LicenciaApache-2.0
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 2

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por openreachtech en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Hof Oidc Sign In en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-oidc-sign-in
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openreachtech/hora-skills-ort-furo.git /tmp/hora-skills-ort-furo
mkdir -p .claude/skills
cp -r /tmp/hora-skills-ort-furo/kit/skills/hof-oidc-sign-in .claude/skills/hof-oidc-sign-in
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Hof Oidc Sign In en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Hof Oidc Sign In automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Hof Oidc Sign In no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

OIDC Sign-in (Frontend)

Use this skill when the user signs in at an external OpenID Connect identity provider (IdP) instead of typing a password into the app. The backend is a confidential client and runs the whole protocol ([[hor-oidc-sign-in]]): it creates state, nonce and the PKCE verifier, exchanges the code, and verifies the ID token. The frontend does three things only.

  1. Ask the backend where to go, then leave the app for the IdP with a full-page navigation.
  2. Remember where the user was heading, so the trip through the IdP does not lose it.
  3. On the callback page, hand code and state back to the backend and keep the access token it returns.

The skill ends where [[hof-cookie-authentication]] begins. signInWithOidc answers with the same accessToken that signIn does and sets the same HttpOnly refresh cookie, so the token goes into SessionStoreClerk, and renewing, request healing, the route gateway and sign-out run unchanged.

The flow

sign-in page                     backend                   identity provider
  | startOidcSignIn ------------->| state cookie, authorizationUrl
  |<------------------------------|
  | keep the return path
  | full-page navigate ------------------------------------>| user signs in
callback page <----------------------------- redirect_uri?code&state
  | signInWithOidc { code, state } ->| checks, exchange, session
  |<---------------------------------| accessToken + refresh cookie
  | saveToken, take the return path, navigate (replace)

Rules

  • Leave the app with a full-page navigation, navigateTo(authorizationUrl, { external: true }). The IdP is another origin, so a router push cannot reach it, and a popup or iframe breaks under third-party cookie blocking.
  • Both mutations send credentials: 'include'. startOidcSignIn receives the state cookie and signInWithOidc sends it back, the way the refresh cookie rides the cookie-authentication payloads.
  • The return path lives in one keeper class and one storage key, never as literals spread over the middleware, the sign-in page and the callback page (start).
  • Only a same-origin relative path is ever kept or followed. It starts with / and not with // or /\. Anything else falls back to the home path, so a crafted ?redirect= cannot turn the callback into an open redirect.
  • The return path goes to sessionStorage, and nothing else does. It is not a credential and it has to survive the page unload. The access token stays in memory, as [[hof-cookie-authentication]] requires.
  • The callback page is public (skipFilter), sends signInWithOidc once, and replaces the history entry it lands on, so Back never replays a spent code.
  • An IdP error or a failed callback offers a fresh start, never a retry of the same code and state. The backend spends the authorization row before the exchange, so the same pair cannot work twice.

Core

TopicDescriptionReference
StartThe startOidcSignIn client, OidcSignInStarter, the ReturnPathKeeper and the sign-in page button, including an OIDC-only appstart
CallbackThe signInWithOidc client, OidcCallbackReceiver and the callback pagecallback

The Launcher, Payload and Capsule of both mutations follow [[hof-graphql]]. Error codes extend app/constants-error.js as [[hof-cookie-authentication]] lays it out.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Hof Oidc Sign In?

Sign in through an external OpenID Connect identity provider in a Furo/Nuxt app: the full-page redirect to the provider, the callback page, and the return path kept across the trip. Use when adding a 'sign in with' button or an OIDC-only sign-in. Boundary: the session after sign-in follows the frontend cookie authentication convention; state, nonce, PKCE and the code exchange are the backend OIDC sign-in convention's.

¿Por qué usar Hof Oidc Sign In en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Hof Oidc Sign In está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Hof Oidc Sign In en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-oidc-sign-in. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Hof Oidc Sign In?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Hof Oidc Sign In?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Hof Oidc Sign In con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Hof Oidc Sign In?

Sí. openreachtech la ha publicado en GitHub bajo la licencia Apache-2.0. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇