A modern identity lab complementing the OAuth playground with OIDC discovery, PKCE, device authorization, introspection and revocation.
The Modern Identity API implements the parts of OpenID Connect that clients actually integrate against: a discovery document, PKCE, the device authorization flow and the full token lifecycle. If you are testing a login that runs on a TV, a CLI or anything without a browser redirect, the device-code flow here behaves like the real thing.
Base URL: https://funapi.dev/api/identity/v1 · 6 endpoints · OpenAPI 3.1 spec and Postman collection available. New here? Read the getting started guide.
provider metadata
GET /identity/v1/.well-known/openid-configuration — OIDC discovery document · Responds with 200 Link to this endpointGET /identity/v1/jwks — Demo JSON Web Key Set · Responds with 200 Link to this endpointPKCE and lifecycle
POST /identity/v1/token — Exchange a PKCE code for scoped tokens — verifies BASE64URL(SHA256(codeVerifier)) against the stored codeChallenge · Responds with 200 400 Link to this endpointPOST /identity/v1/introspect — Introspect an access token · Responds with 200 Link to this endpointPOST /identity/v1/revoke — Revoke an access token · Responds with 204 Link to this endpoint