Token Endpoint
POST/v3/service/extension/oidc/:organisationId/token
OpenID Connect token endpoint that exchanges an authorization code for access and ID tokens. Client authentication is required using HTTP Basic Auth with client_id
as username and client_secret
as password.
Request
Path Parameters
The ID of the organisation
- application/x-www-form-urlencoded
Body
required
Possible values: [authorization_code
]
The type of grant being used
The URI to which the response will be sent, must match the redirect URI used in the authorisation request
The authorisation code received from the authorisation request
Responses
- 200
Access (and ID) token response
Response Headers
Cache-Control string
Indicates that the response should not be cached.
- application/json
- Schema
- Example (from schema)
Schema
The JWT token that can be sent to access protected resources
The type of the token issued (Bearer)
The duration in seconds for which the access token is valid
The JWT that contains identity information about the user
{
"access_token": "string",
"token_type": "string",
"expires_in": 0,
"id_token": "string"
}