Identify

API reference

Connect ID

/id/oauth — OpenID Connect discovery, authorize, token, userinfo, revoke and sign-in settings.

https://api.didconnect.xyz
Route
GET /.well-known/openid-configurationThe discovery document. issuer is https://api.didconnect.xyz
GET /.well-known/jwks.jsonThe keys that sign ID tokens
GET /id/oauth/authorizeAuthorization code with PKCE (S256)
POST /id/oauth/tokenauthorization_code or refresh_token
GET /id/oauth/userinfoClaims of the granted scopes; Authorization: Bearer <access_token>
POST /id/oauth/revoke{ token, client_id, client_secret? }
GET /id/auth-settingsSign-in methods and session policy; X-API-Key

GET /id/oauth/authorize

Parameter
client_idYour client
redirect_uriOne of the client's redirect URIs, exactly
response_typecode
scopeSpace-separated; openid is required (scopes)
stateReturned unchanged
code_challenge, code_challenge_methodPKCE, S256
nonceOptional; returned in the ID token

POST /id/oauth/token

{ "grant_type": "authorization_code", "code": "…", "redirect_uri": "…", "client_id": "dcid_…", "client_secret": "…", "code_verifier": "…" }
{ "access_token": "…", "token_type": "Bearer", "expires_in": 3600, "id_token": "eyJ…", "refresh_token": "…", "scope": "openid profile identity:verified" }

Refresh tokens rotate: each refresh answers a new one.

On this page