Skip to main content

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 OAuth 2.0 documentation

Request

Body

    grant_typestring
    Example: refresh_token
    refresh_tokenstring
    Example: ************

Responses

Refresh Token

Response Headers

  • Cache-Control

    string

  • Date

    string

  • Server

    string

Schema

    access_tokenstring
    Example: newaccesstoken
    expires_innumber
    Example: 1800
    refresh_tokenstring
    Example:
    rolesstring[]
    Example: ["ROLE_ADMIN"]
    token_typestring
    Example: Bearer
    usernamestring
    Example: admin