BookmarkSubscribe
☑ This topic is solved.

Need further help from the community? Please sign in and ask a new question.

sounak93
Calcite | Level 5

Refresh token Validity in Viya 3.5

I registered a client ID and Client secret in Viya. The validity of my refresh token is 30days. Is there a way I can extend it? Can I set the validity of the refresh token to never expire?

0 Likes
1 ACCEPTED SOLUTION

Accepted Solutions
joeFurbee
Community Manager

Re: Refresh token Validity in Viya 3.5

Hi @sounak93,

The default length for the ACCESS_TOKEN is 24 hours and 30 days for the REFRESH_TOKEN. The ACCESS_TOKEN lifetime can be extended out as far as you want (1 year, 20 years, etc.). Note, however, the limit for the REFRESH_TOKEN lifetime is 30 days (or less). This is all controlled by the sas.logon.jwt configuration property. See the sas.logon.jwt configuration in SAS EV administration documentation. on how to adjust the system defaults.

 

Hope this helps,

Joe


Join us for SAS Community Trivia
SAS Bowl XIV, SASPy
Thursday, November 11, 2021, at 4 PM ET | #SASBowl

View solution in original post

0 Likes
2 REPLIES 2
joeFurbee
Community Manager

Re: Refresh token Validity in Viya 3.5

Hi @sounak93,

The default length for the ACCESS_TOKEN is 24 hours and 30 days for the REFRESH_TOKEN. The ACCESS_TOKEN lifetime can be extended out as far as you want (1 year, 20 years, etc.). Note, however, the limit for the REFRESH_TOKEN lifetime is 30 days (or less). This is all controlled by the sas.logon.jwt configuration property. See the sas.logon.jwt configuration in SAS EV administration documentation. on how to adjust the system defaults.

 

Hope this helps,

Joe


Join us for SAS Community Trivia
SAS Bowl XIV, SASPy
Thursday, November 11, 2021, at 4 PM ET | #SASBowl

View solution in original post

0 Likes
sounak93
Calcite | Level 5

Re: Refresh token Validity in Viya 3.5

Thanks Joe, that helped. I was able to extend the lifetime for my access token and refresh token according to my need.
0 Likes

LEA_350x350_184991.jpg

 

Join us for a one-day, live virtual event with bite size sessions on hot topics that will bring analytics to every corner of your business. Explore the three tracks and full agenda items. 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Recommended by SAS
These recommendations are generated using AI from SAS. For personalized recommendations, sign in with your SAS profile.
Discussion stats
  • 2 replies
  • 1348 views
  • 0 likes
  • 2 in conversation