Skip to main content

Exchange an authorization code for an access token

POST 

/oauth2server/oauth/token

Exchange an authorization code for an access token

Example:

curl -i -X POST -u SampleClientId:ClientSecret -d "grant_type=authorization_code&code=9999&redirect_uri=https://localhost/login"
https://localhost:8080/oauth2server/oauth/token

Request​

Responses​

An access token