<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Login to SAS Viya 4 via SAS Visual Studio Extension Results in Authorization Error in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Login-to-SAS-Viya-4-via-SAS-Visual-Studio-Extension-Results-in/m-p/963087#M2796</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;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:&lt;BR /&gt;"The application is not authorized to use SAS Logon Manager"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS logon error" style="width: 527px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105805iDC50331E1A73C017/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS_logon_manager_error.png" alt="SAS logon error" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SAS logon error&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm unable to obtain the token I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error from the log (SAS Logon Manager) shows:&lt;/P&gt;&lt;P&gt;{"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&lt;BR /&gt;lar\"","properties":{"logger":"com.sas.logon.oauth.UaaAuthorizationEndpoint","thread":"https-jsse-nio-8080-exec-12","traceId":"5b5d23ba247fc5a4","spanId":"5b5d23ba247fc5a4"}}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;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.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I should be able to obtain a token with this URL when pasted into the browser:&lt;/P&gt;&lt;P&gt;&lt;A href="https://sas-viya.apps.ocp-helsingoer.cncs.dk/SASLogon/oauth/authorize?client_id=laslar&amp;amp;response_type=code" target="_blank"&gt;https://sas-viya.apps.ocp-helsingoer.cncs.dk/SASLogon/oauth/authorize?client_id=laslar&amp;amp;response_type=code&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this also gives the same error: "The application is not authorized to use SAS Logon Manager"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any assistance would be greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Apr 2025 09:06:27 GMT</pubDate>
    <dc:creator>LasseL_Knowit</dc:creator>
    <dc:date>2025-04-01T09:06:27Z</dc:date>
    <item>
      <title>Login to SAS Viya 4 via SAS Visual Studio Extension Results in Authorization Error</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Login-to-SAS-Viya-4-via-SAS-Visual-Studio-Extension-Results-in/m-p/963087#M2796</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;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:&lt;BR /&gt;"The application is not authorized to use SAS Logon Manager"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS logon error" style="width: 527px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105805iDC50331E1A73C017/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS_logon_manager_error.png" alt="SAS logon error" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SAS logon error&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm unable to obtain the token I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error from the log (SAS Logon Manager) shows:&lt;/P&gt;&lt;P&gt;{"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&lt;BR /&gt;lar\"","properties":{"logger":"com.sas.logon.oauth.UaaAuthorizationEndpoint","thread":"https-jsse-nio-8080-exec-12","traceId":"5b5d23ba247fc5a4","spanId":"5b5d23ba247fc5a4"}}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;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.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I should be able to obtain a token with this URL when pasted into the browser:&lt;/P&gt;&lt;P&gt;&lt;A href="https://sas-viya.apps.ocp-helsingoer.cncs.dk/SASLogon/oauth/authorize?client_id=laslar&amp;amp;response_type=code" target="_blank"&gt;https://sas-viya.apps.ocp-helsingoer.cncs.dk/SASLogon/oauth/authorize?client_id=laslar&amp;amp;response_type=code&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this also gives the same error: "The application is not authorized to use SAS Logon Manager"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any assistance would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 09:06:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Login-to-SAS-Viya-4-via-SAS-Visual-Studio-Extension-Results-in/m-p/963087#M2796</guid>
      <dc:creator>LasseL_Knowit</dc:creator>
      <dc:date>2025-04-01T09:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Login to SAS Viya 4 via SAS Visual Studio Extension Results in Authorization Error</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Login-to-SAS-Viya-4-via-SAS-Visual-Studio-Extension-Results-in/m-p/963104#M2797</link>
      <description>&lt;P&gt;Case solved. Somehow the connection profile was wrong. Created a new connection and now it works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 11:22:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Login-to-SAS-Viya-4-via-SAS-Visual-Studio-Extension-Results-in/m-p/963104#M2797</guid>
      <dc:creator>LasseL_Knowit</dc:creator>
      <dc:date>2025-04-01T11:22:24Z</dc:date>
    </item>
  </channel>
</rss>

