Hof Oidc Sign In logo

Hof Oidc Sign In

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

Overview

Publisheropenreachtech
Repositoryhora-skills-ort-furo
Skill namehof-oidc-sign-in
Stars
32
Forks
0
Bundled files
2
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by openreachtech on GitHub. Read the source before you install it.

Installation

Install the Hof Oidc Sign In AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-oidc-sign-in
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hof Oidc Sign In in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hof Oidc Sign In on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hof Oidc Sign In is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Hof Oidc Sign In AI skill do?

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.

Why use Hof Oidc Sign In on TypingMind?

Because you install it once and use it with any model. Hof Oidc Sign In is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hof Oidc Sign In in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-oidc-sign-in. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Hof Oidc Sign In?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hof Oidc Sign In?

As many as you like. As long as a model supports skills, you can use Hof Oidc Sign In with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hof Oidc Sign In AI skill free?

Yes. It is published on GitHub by openreachtech under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇