Skip to main content

OIDC token endpoint

POST 

/api/oidc/:projectId/token

OAuth 2.0 token endpoint (grant_type=authorization_code). Client auth via Authorization: Basic or form fields client_id + client_secret. Request body: application/x-www-form-urlencoded or multipart/form-data. Returns OAuth-style JSON (not { data: … }) on success and on error.

Request

Responses

Token response (access_token, id_token, token_type, expires_in, …).