POST
/
oauth2
/
token
OIDC token endpoint
curl --request POST \
  --url https://coreapi-dev.us.bcpapers.ca/oauth2/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'grant_type=<string>' \
  --data 'code=<string>' \
  --data 'redirect_uri=<string>' \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>'
{}

Body

application/x-www-form-urlencoded
grant_type
string
required

Grant type (authorization_code or refresh_token)

code
string

Authorization code

redirect_uri
string

Redirect URI

client_id
string

OAuth client ID

client_secret
string

OAuth client secret

Response

OK

The response is of type object.