Sitelet https://funapi.dev/docs/identity

Modern Identity API — free mock REST API for testing

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.

Example request and response

GET https://funapi.dev/api/identity/v1/.well-known/openid-configuration — OIDC discovery document. No token, no signup:

curl -i https://funapi.dev/api/identity/v1/.well-known/openid-configuration

answers 200 OK with:

{
  "issuer": "https://funapi.dev/api/identity/v1",
  "authorization_endpoint": "https://funapi.dev/api/identity/v1/authorize",
  "token_endpoint": "https://funapi.dev/api/identity/v1/token",
  "jwks_uri": "https://funapi.dev/api/identity/v1/jwks",
  "code_challenge_methods_supported": [
    "S256"
  ],
  "scopes_supported": [
    "openid",
    "profile",
    "email",
    "offline_access"
  ]
}

Open and run this endpoint

What you can practise here

discovery

provider metadata

tokens

PKCE and lifecycle

All 39 mock REST APIs

Use this response elsewhere

Last updated