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

saviynt rest access and refresh token expires - any way to refresh indefinitely?

thesvg
Regular Contributor
Regular Contributor

hello we have a saviynt rest used to create saviynt account, and update username etc.. the access/refresh token was platform generated via webauth service and it expires every 1 hour/3600 hours. Is there a way to keep extending it indefinitely? if so how?

1 REPLY 1

rushikeshvartak
All-Star
All-Star

Yes this is feasible  

Refer : https://documenter.getpostman.com/view/23973797/2sA35K1fUa#bf5818cc-d42a-4e77-a939-507695bbb93f http...

POSTRefresh Authorization Token

{{url}}/ECM/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


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