Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Refresh token lifetime

RV
Regular Contributor
Regular Contributor

What is the default lifetime of 'Refresh_Token' and 'Access_Token' that we get when calling Saviynt /login ? And, where can change this default lifetime?

Can we set the lifetime of just 'Refresh_Token'?

1 REPLY 1

rushikeshvartak
All-Star
All-Star

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

https://documenter.getpostman.com/view/1797923/RWaLwo21?version=latest#8b3704d4-7c3d-45e9-a82f-48773...

Valid for 3600 seconds


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.