BookmarkSubscribeRSS Feed
ssp0490
Calcite | Level 5

Can we generate access token through SAS Viya Authentication API with password grant type and providing encrypted password? Is there an example/documentation with steps to do so? The password is encrypted using proc pwencode. 

 

1 REPLY 1
joeFurbee
Community Manager

Hi @ssp0490,

Please see my blog post: Authentication to SAS Viya: a couple of approaches. In the Get an access token using the password grant section, I outline how to generate an access token using the password grant type. 

 

If you prefer Python, you can reference one of one of the files in the rest-api-use-cases repo on sassoftware GitHub.


Join us for SAS Community Trivia
SAS Bowl XLIII, The New SAS Developer Portal
Wednesday, August 14, 2024, at 10 a.m. ET | #SASBowl

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Discussion stats
  • 1 reply
  • 606 views
  • 1 like
  • 2 in conversation