Module authorize

Source
Expand description

OAuth 2.0 and OpenID Connect implementation.

This module implements the following RFCs and specifications:

§OAuth 2.0 Core

§OAuth 2.0 Extensions

§JSON Web Token (JWT)

§OpenID Connect

  • OpenID Connect Core 1.0
    • §3 — Authorization Endpoint (/authorize)
    • §3.1.3 — Token Endpoint (/token)
    • §5.3 — UserInfo Endpoint (/userinfo)
    • §10 — JWKS endpoint for key discovery (/jwks.json) — Note: Currently exposes a single key; key rotation not implemented
  • OpenID Connect Discovery 1.0 (/.well-known/openid-configuration)

Functions§

_add_routes
authorize
Handles the /authorize endpoint for OAuth 2.0 and OpenID Connect with PKCE support.