Creates an access token for your Access Gateway. Use the access token to authenticate API requests. Authentication is performed using a signed JWT assertion in the client_assertion parameter of the request body, not through HTTP headers.
This endpoint only supports the OAuth 2.0 client credentials grant type. It returns access tokens based on the request parameters. You're not able to use any other OAuth 2.0 grant types, such as password or refresh_token, with this endpoint.
Success
Bad Request
grant_type=client_credentials&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer&client_assertion=%3Cjwt_Token%3E&scope=okta.oag.idp.read%20okta.oag.app.read
{- "access_token": "<jwt_token>",
- "token_type": "Bearer",
- "expires_in": 300,
- "scope": "okta.oag.idp.read okta.oag.app.read"
}