- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 11-18-2022 08:01 AM
(955 views)
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.