BookmarkSubscribeRSS Feed
BahetiG
Calcite | Level 5

Hello,

I have subscribed to SAS Viya trial and Cloud-based SAS Studio.

I want to use SAS REST API's but it needs to register a client for Authentication and Authorization after that I can get an access token, but I am not able to find how to register a client for Authentication and Authorization.


I am using Windows 10 OS to connect with SAS Studio.

3 REPLIES 3
AllanBowe
Barite | Level 11

You need to be an administrator to register a client.  If that's the case, then you would be able to do this directly in SAS Studio using the following macro:  https://core.sasjs.io/mv__registerclient_8sas.html

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
BahetiG
Calcite | Level 5

Hello Allan,

Thank you for your reply.
When I am trying to run the suggested macro ( https://core.sasjs.io/mv__registerclient_8sas.html ) facing following issue:

ERROR: Execution canceled by an %ABORT CANCEL statement. 

 

Please suggest a solution.

AllanBowe
Barite | Level 11

I would need to see more of the log to confirm, but it sounds like you are not an administrator.

 

I suggest asking an administrator to register your client - they would be able to run the macro, or use a tool like this:  https://sasjs.io/apps/#viya-client-token-generator

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 672 views
  • 0 likes
  • 2 in conversation