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 XL, SAS Innovate 2024 Recap
Wednesday, May 15, 2024, at 10 a.m. ET | #SASBowl