POST /oauth2/token

Get access, refresh and id tokens, as per https://openid.net/specs/openid-connect-core-1_0.html#TokenResponse Request must include client ID and Secret in Basic Authentication header, i.e. the 'client_secret_basic' authentication method: https://openid.net/specs/openid-connect-core-1_0.html#ClientAuthentication

Resource URL

https://repo-prod.prod.sagebase.org/auth/v1/oauth2/token

Parameters
verifiedOauthClientId

optional

grant_type

optional

authorization_code or refresh_token
code

optional

required if grant_type is authorization_code
redirect_uri

optional

required if grant_type is authorization_code
refresh_token

optional

required if grant_type is refresh_token
scope

optional

only provided if grant_type is refresh_token
claims

optional

optional if grant_type is refresh_token
Resource Information
Authentication false
HTTP Methods POST
Request Object None
Response Object OIDCTokenResponse
(application/json)