> OpenID Connect (OIDC)
OIDC authentication with Authorization Code + PKCE flow for web apps and SSO.
fetch
$
curl "https://skillshub.wtf/skillshub-team/catalog-batch5/openid-connect?format=md"SKILL.md•OpenID Connect (OIDC)
OpenID Connect
Auth Code + PKCE Flow
- Generate code_verifier + code_challenge (S256)
- Redirect to /authorize with client_id, redirect_uri, scope=openid, code_challenge
- Exchange code for tokens at /token endpoint
- Validate id_token JWT with JWKS
Token Exchange
const res = await fetch(tokenUrl, {
method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: new URLSearchParams({ grant_type: 'authorization_code', code, redirect_uri, client_id, code_verifier }),
});
const { access_token, id_token, refresh_token } = await res.json();
Validate ID Token
import { jwtVerify, createRemoteJWKSet } from 'jose';
const JWKS = createRemoteJWKSet(new URL(issuer + '/.well-known/jwks.json'));
const { payload } = await jwtVerify(id_token, JWKS, { issuer, audience: clientId });
Discovery: GET /.well-known/openid-configuration
> related_skills --same-repo
> Nix Dev Shells with direnv
Auto-activate reproducible dev environments with Nix flakes and direnv.
> Dagger with GitHub Actions
Run Dagger CI/CD pipelines in GitHub Actions for portable, testable builds.
> Bun + Hono API
Build fast APIs with Bun runtime and Hono framework.
> Deno Fresh Framework
Build full-stack web apps with Fresh on Deno. Islands, routes, and zero runtime overhead.
┌ stats
installs/wk0
░░░░░░░░░░first seenMar 18, 2026
└────────────