RapidIdentity Product Guide

Access Token Refresh

Issue a POST to /idp/profile/oidc/token with the following parameters.

Table 292. POST Parameters

Parameter

Type

Description

grant_type

String required

"refresh_token"

refresh_token

String required

The refresh token value received in the 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, use of HTTP Basic Authentication is preferred.

Assuming the request is valid, the Authorization Server will generate new Access, ID and Refresh tokens and return a response in the same format as the Token Response.