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-configuration | The discovery document. issuer is https://api.didconnect.xyz |
GET /.well-known/jwks.json | The keys that sign ID tokens |
GET /id/oauth/authorize | Authorization code with PKCE (S256) |
POST /id/oauth/token | authorization_code or refresh_token |
GET /id/oauth/userinfo | Claims of the granted scopes; Authorization: Bearer <access_token> |
POST /id/oauth/revoke | { token, client_id, client_secret? } |
GET /id/auth-settings | Sign-in methods and session policy; X-API-Key |
GET /id/oauth/authorize
| Parameter | |
|---|---|
client_id | Your client |
redirect_uri | One of the client's redirect URIs, exactly |
response_type | code |
scope | Space-separated; openid is required (scopes) |
state | Returned unchanged |
code_challenge, code_challenge_method | PKCE, S256 |
nonce | Optional; 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.

