Refresh Authorization Token
POST/oauth/access_token
Saviynt Enterprise Identity Cloud (EIC) supports OAuth2.0 . OAuth 2.0 is the industry-standard protocol for authorization. OAuth 2.0 focuses on client developer simplicity while providing specific authorization flows for web applications. For more information refer link below.
Note: If grails.plugin.springsecurity.rest.refreshtoken.storage.jwt.expiration is set to some value in Config.groovy, refresh token will expire based on this config in api/login api. This will generate a new refresh token if another config - grails.plugin.springsecurity.rest.refreshtoken.new is set to true in Config.groovy. For blank or null, it will return the same Refresh token as passed in oauth/access_token api
Request
- application/x-www-form-urlencoded
Body
Responses
- 200
Refresh Token
Response Headers
Cache-Control
string
Date
string
Pragma
string
Server
string
Transfer-Encoding
string
X-Frame-Options
string
- application/json
- Schema
- Example (from schema)
- Refresh Token
Schema
{
"access_token": "newaccesstoken",
"expires_in": 1800,
"refresh_token": "",
"roles": [
"ROLE_ADMIN"
],
"token_type": "Bearer",
"username": "admin"
}
{
"access_token": "newaccesstoken",
"expires_in": 1800,
"refresh_token": "",
"roles": [
"ROLE_ADMIN"
],
"token_type": "Bearer",
"username": "admin"
}