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
- 200
- 400
- 401
Token response (access_token, id_token, token_type, expires_in, …).
{ error, error_description }
invalid_client