BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Technolero
Pyrite | Level 9

I have EG 8.4 connected to my Viya 4 2024.06 compute server. To authenticate I generate an authorization code. I haven't really paid attention to how often I need provide a new authorization code. How long does the authorization code last before I have to refresh?

1 ACCEPTED SOLUTION

Accepted Solutions
Wilbram-SAS
SAS Employee

@Technolero , if I'm not mistaken SAS Enterprise Guide retrieves an Authorization Code and a Refresh Token when you connect the first time to a SAS Viya Compute server. The Authorization Code is used for creating and accessing the Compute server session and is short-lived. When it expires or when a new session needs to be created, EG will use the Refresh Token to request another Authorization Code.

 

Now regarding validity of these tokens, both can be configured by your SAS administrator:

View solution in original post

4 REPLIES 4
joeFurbee
Community Manager

@Technolero,

I don't believe there's an expiration on the auth token; however with any client connection there may be circumstances where the auth token gets rejected. In that case you would have to generate a new auth token and go through the connection process.


Join us for SAS Community Trivia
SAS Bowl L, PROC HTTP
Wednesday, February 19, 2024, at 10:00 a.m. ET | #SASBowl

Technolero
Pyrite | Level 9

Thanks @joeFurbee. It seems like it prompts me for a code every few days (maybe a week). I will pay more attention and share what I find.

Wilbram-SAS
SAS Employee

@Technolero , if I'm not mistaken SAS Enterprise Guide retrieves an Authorization Code and a Refresh Token when you connect the first time to a SAS Viya Compute server. The Authorization Code is used for creating and accessing the Compute server session and is short-lived. When it expires or when a new session needs to be created, EG will use the Refresh Token to request another Authorization Code.

 

Now regarding validity of these tokens, both can be configured by your SAS administrator:

Technolero
Pyrite | Level 9

Thank you @Wilbram-SAS ! That was exactly what I was looking for!

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Discussion stats
  • 4 replies
  • 1644 views
  • 1 like
  • 3 in conversation
OSZAR »