OAuth Configuration in SAS Viya

A versatile AI agency offering end-to-end solutions across  various industries. We specialize in tailored.

March 13, 2025
Introduction:

SAS Viya provides authentication services with the SAS Logon Manager.These services are built around Open Authorization (OAuth) and Open ID Connect. OAuth 2 is an authorization framework that enables applications to obtain limited access to secured HTTP resources such as those provided via SAS Viya APIs. SAS Logon Manager uses OAuth policy to enforce the access token to allow access to protected resources.

Getting an external application connected to the SAS Viya platform requires the following steps:
Get an Access token using an Authorizations code:
Step 1:
Step 2:
Step 3:
Image 1: Username and Password for SAS Viya Environment
Image 2: Authorize Access
Image 3: Authorization Code
Step 4:
Image 4: Access Token Command
curl -k https://sasserver.demo.sas.com/SASLogon/oauth/token -H “Accept: application/json” -H “Content-Type: application/x-www-form-urlencoded” -u “myclientid:myclientsecret” -d “grant_type=authorization_code&code=YZuKQUg10Z”
Step 5:
Reference:

Leave A Comment

Cart (0 items)

Create your account