SDK reference

Connect ID

dc.id — discovery, userinfo, revocation and sign-in settings.

CallRoute
discovery()GET /.well-known/openid-configuration
authorizeUrl({ clientId, redirectUri, scope, state, codeChallenge, nonce? })Builds the /id/oauth/authorize URL; no request
exchangeCode({ code, redirectUri, clientId, clientSecret?, codeVerifier })POST /id/oauth/token
refresh({ refreshToken, clientId, clientSecret? })POST /id/oauth/token
userinfo(accessToken)GET /id/oauth/userinfo
revoke({ token, clientId, clientSecret? })POST /id/oauth/revoke
authSettings()GET /id/auth-settings