BookmarkSubscribeRSS Feed
crack3n-collab
Obsidian | Level 7

crack3ncollab_0-1707202491243.png

client_id="api.client"
client_secret="api.secret"
https://sasserver.demo.sas.com/SASLogon/oauth/authorize?client_id=api.client&response_type=code

 

I am attempting to create the access token but I am unable to create the token.

I would appreciate any pointer or advice on how to resolve this issue.

 

Thanks in advance.

2 REPLIES 2
joeFurbee
Community Manager

Hi @crack3n-collab,

Have you verified that there is a client called api.client in your SAS Viya environment? Also, is the URL you posted below the call you sent or did you make it generic for posting. sasserver.demo.sas.com is a generic URL I made up for documentation purposes. You would need to update the URL and client id with something specific to your implementation.


Join us for SAS Community Trivia

SAS-Bowl-LII-SAS-Viya-SDK-for-JavaScript
Wednesday, June 18, 2025 at 10 am.
crack3n-collab
Obsidian | Level 7

I made it generic for posting. I don't think the api client and api secret were set up which might explain why it isn't working as intended. 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Discussion stats
  • 2 replies
  • 1084 views
  • 0 likes
  • 2 in conversation