Authentication
Exchange ID token for access token
Changed onExchange an ID token for an access token using OAuth 2.0 token exchange. This endpoint is used internally by the SDK when token exchange is configured.
post/oauth/token
Request
- Base URLhttps://auth.sunnyhealthai.com
- Authnone declared
Request body application/x-www-form-urlencoded
Example request
{
"grant_type": "urn:ietf:params:oauth:grant-type:token-exchange",
"audience": "https://api.sunnyhealthai-staging.com"
}Response
Token exchange successful
Example response
{
"token_type": "Bearer",
"expires_in": 3600
}Changes
- info
api tag
Authenticationadded - info
api tag
authenticationremoved
- info
- info
endpoint added
- info