JWT/Oauth2 library for Gerbil Scheme.
  • Scheme 99.9%
  • Makefile 0.1%
Find a file
Jaime Fournier fe4c5e3d8e Add full JWT/OAuth2/OIDC authentication library
Complete Gerbil Scheme auth library with 19 modules across 4 layers:
- Crypto: Custom FFI for RSA/ECDSA signing (stdlib only supports Ed25519),
  ECDSA DER<->P1363 conversion, HMAC/RSA/ECDSA/EdDSA algorithms
- JWT: JWS compact serialization, JWK parsing (oct/RSA/EC/OKP) with JWKS
  caching, full JWT encode/decode/validate with claims validation
- OAuth2: Authorization Code + PKCE, Client Credentials, Refresh Token,
  Token Introspection (RFC 7662), Token Revocation (RFC 7009)
- OIDC: Provider discovery, ID token validation, userinfo, high-level flows

Supports HS256/384/512, RS256/384/512, ES256/384/512, and EdDSA (Ed25519).
Includes 30-case test suite covering roundtrips, security, and claims validation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 14:59:52 -07:00
auth Add full JWT/OAuth2/OIDC authentication library 2026-02-10 14:59:52 -07:00
.gitignore Add full JWT/OAuth2/OIDC authentication library 2026-02-10 14:59:52 -07:00
build.ss Add full JWT/OAuth2/OIDC authentication library 2026-02-10 14:59:52 -07:00
gerbil.pkg Add full JWT/OAuth2/OIDC authentication library 2026-02-10 14:59:52 -07:00
Makefile Add full JWT/OAuth2/OIDC authentication library 2026-02-10 14:59:52 -07:00
manifest.ss Add full JWT/OAuth2/OIDC authentication library 2026-02-10 14:59:52 -07:00
README.md first commit 2026-02-10 14:37:21 -07:00

gerbil-auth