Logo: Hof Oidc Sign In

Hof Oidc Sign In

Organisatioun
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.

Iwwersiicht

Editeuropenreachtech
Repositoryhora-skills-ort-furo
Skill-Nummhof-oidc-sign-in
Stären
32
Forks
0
Matgeliwwert Dateien
2
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    openreachtech huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Hof Oidc Sign In an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-oidc-sign-in
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Hof Oidc Sign In an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Hof Oidc Sign In automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Hof Oidc Sign In net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Hof Oidc Sign In op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Hof Oidc Sign In besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Hof Oidc Sign In an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-oidc-sign-in an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Hof Oidc Sign In benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Hof Oidc Sign In benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Hof Oidc Sign In domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Hof Oidc Sign In gratis?

Jo. openreachtech huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇