POST
/
oauth
/
token
Token endpoint
curl --request POST \
  --url https://id.oakwall.mom/oauth/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data grant_type=authorization_code \
  --data 'code=<string>' \
  --data 'redirect_uri=<string>' \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>' \
  --data 'code_verifier=<string>'
{
  "access_token": "<string>",
  "token_type": "Bearer",
  "expires_in": 123,
  "refresh_token": "<string>",
  "id_token": "<string>",
  "scope": "<string>"
}

Body

application/x-www-form-urlencoded
grant_type
enum<string>
required
Available options:
authorization_code
code
string
required
redirect_uri
string<uri>
required
client_id
string
required
client_secret
string
required
code_verifier
string

Response

Token response

access_token
string
token_type
string
Example:

"Bearer"

expires_in
integer
refresh_token
string
id_token
string
scope
string