Get Access Token With Refresh Token
Use this API instead:
- /oidc/oauth2/token
To obtain the access token please follow the steps described in the official product documentation. Using the token generated by the Identity Service API alone will not work due to a missing internal state.
DEPRECATED: Passing the refresh_token param name, need to use api_token.
Access Policy
Role | Access |
---|---|
Anonymous | ✔️ |
Request
URI
POST
https://vra-interop-222-139.lvn.broadcom.net/csp/gateway/am/api/auth/api-tokens/authorize
COPY
Request Body
AuthorizationByRefreshTokenRequest
of type(s)
application/json
Optional
{
"api_token": "string"
}
string
api_token
Optional
The API-token
Responses
200
OK
Returns
AccessToken
of type(s)
*/*
"AccessToken Object"
string
scope
Optional
Scope
string
access_token
Optional
Access Token
string
refresh_token
Optional
Refresh Token
string
id_token
Optional
ID Token
string
token_type
Optional
Token Type
integer As int64
As int64
expires_in
Optional
Access Token Expiration
400
Invalid request body.
Returns
AccessToken
of type(s)
*/*
"AccessToken Object"
string
scope
Optional
Scope
string
access_token
Optional
Access Token
string
refresh_token
Optional
Refresh Token
string
id_token
Optional
ID Token
string
token_type
Optional
Token Type
integer As int64
As int64
expires_in
Optional
Access Token Expiration
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/csp/gateway/am/api/auth/api-tokens/authorize
Deprecated
Authentication Controller Operations
POST
Get Access Token Pkce Flow
Deprecated
POST
Logout
Deprecated
POST
Get Access Token With Authorization Request
Deprecated
POST
Get Access Token With Refresh Token
Deprecated
GET
Get Keys
Deprecated