Hello,
I have been using the SAS Visual Studio extension to log in to SAS Viya 4. It has worked perfectly until recently, when I started receiving this error from the browser:
"The application is not authorized to use SAS Logon Manager"
SAS logon error
I'm unable to obtain the token I need.
The error from the log (SAS Logon Manager) shows:
{"version":1,"timeStamp":"2025-03-18T12:28:44.466Z","level":"info","source":"sas-logon-app","message":"Handling OAuth2 error: error=\"invalid_client\", error_description=\"No client with requested id: las
lar\"","properties":{"logger":"com.sas.logon.oauth.UaaAuthorizationEndpoint","thread":"https-jsse-nio-8080-exec-12","traceId":"5b5d23ba247fc5a4","spanId":"5b5d23ba247fc5a4"}}
It states that 'No client with requested id: laslar' (my username). However, I can log in to SAS Viya directly through the browser without any issues using my username and password.
I should be able to obtain a token with this URL when pasted into the browser:
https://sas-viya.apps.ocp-helsingoer.cncs.dk/SASLogon/oauth/authorize?client_id=laslar&response_type...
But this also gives the same error: "The application is not authorized to use SAS Logon Manager"
Any assistance would be greatly appreciated.