BookmarkSubscribeRSS Feed
u62694614
Calcite | Level 5

I would like to know, if it is possible, how to send a SASViya request with a token.

The request is:

<sas-report
authenticationType="credentials"
url=""
reportUri="
></sas-report>
1 REPLY 1
BradMorris
SAS Employee

It is not currently possible. authenticationType="credentials", as you show in your post, does trigger authentication, but it uses the cookie based auth through SASLogon. All component libraries in the SAS Viya SDK for JavaScript currently only support cookie based authentication.  OAuth token support is in the works, and will eventually be supported by the sas-auth-browser library as well as directly in the other SDK libraries.

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 238 views
  • 2 likes
  • 2 in conversation