oauth
Token exchange
Exchange auth code for access token as part of sgID authorization code flow (to be deprecated)
post/v1/oauth/token
Request body
Example request
{
"client_id": "MYCLIENT-PROD",
"client_secret": "abcabc[...]abcabc",
"code": "abcdefg12345678[...]gfedcba",
"grant_type": "authorization_code"
}Response
Successful token exchange