Skip to main content

OAuth endpoints

Reference for the OAuth and OpenID Connect endpoints on https://auth.<domain>. The grants themselves are described on the Authentication page.

Token​

POST/oauth/tokenauth
GrantBody
client_credentialsclient_id, client_secret
authorization_codecode, redirect_uri, client_id, client_secret, optional code_verifier
refresh_tokenrefresh_token, client_id, client_secret
urn:ietf:params:oauth:grant-type:token-exchangesubject_token, subject_token_type, client_id, client_secret

Authorize​

GET/oauth/authorizeauth
QueryDescription
response_typecode
client_idApp client id
redirect_uriOne of the app's redirect URIs
scopeSpace separated: openid, profile, email, offline_access
stateReturned unchanged
code_challenge, code_challenge_methodPKCE (S256)

Errors: oauth/unsupported-response-type, oauth/invalid-client, oauth/invalid-redirect-uri, oauth/grant-not-allowed, oauth/pkce-required.

Scopes​

ScopePurpose
openidIdentity, returns an ID token
profileName and picture
emailEmail address
offline_accessRefresh token
tenant:read, users:read, users:write, mcp:serviceAdditional scopes, granted only if the app allows them

JWKS​

GET/oauth/.well-known/jwks.jsonauth
{ "keys": [{ "kty": "RSA", "kid": "…", "use": "sig", "alg": "RS256", "n": "…", "e": "AQAB" }] }

Introspect​

POST/oauth/introspectauth
curl -s https://auth.scenid.cloud/oauth/introspect \
-H 'Content-Type: application/json' -d '{"token":"eyJ…"}'
{ "active": true, "sub": "5b8c…", "scope": "", "token_type": "service", "tenantId": "…", "iss": "…", "exp": 1790000000, "iat": 1789996400 }

Userinfo​

GET/oauth/userinfoauth

Requires a user Bearer token. Service tokens get 403 oauth/forbidden.