RapidIdentity Product Guide: New UI

Access Token Refresh

Issue a POST to /idp/profile/oauth2/token with the following parameters:

Table 284. POST Parameters

Parameter

Type

Description

grant_type

String required

"refresh_token"

refresh_token

String required

The refresh token value received in the Access Token Response.

scope

String optional

Space-delimited API scopes, defaults to whatever scope was originally granted.

client_id

String optional

Your Client ID. This is required if HTTP Basic Authentication is not used.

client_secret

String optional

Your Client Secret. This is required if HTTP Basic Authentication is not used.



As shown in the parameter table, HTTP Basic Authentication may be used instead of providing client_id and client_secret as request parameters.

In that case, the Client ID should be used as the username and the Client Secret should be used as the password.

If possible, the use of HTTP Basic Authentication is preferred.

Assuming the request is valid, the Authorization Server generates a new access token and refresh token pair and returns a response in the same format as the Access Token Response.