<?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 Re: sas logon manager authentication failed: access denied. in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/sas-logon-manager-authentication-failed-access-denied/m-p/906440#M2132</link>
    <description>Are you able to connect to CAS from SAS Studio?</description>
    <pubDate>Wed, 06 Dec 2023 13:45:39 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2023-12-06T13:45:39Z</dc:date>
    <item>
      <title>sas logon manager authentication failed: access denied.</title>
      <link>https://communities.sas.com/t5/SAS-Viya/sas-logon-manager-authentication-failed-access-denied/m-p/906171#M2129</link>
      <description>&lt;P&gt;Using jupyter notebook and I am trying to connect to a SAS Viya environment.&lt;/P&gt;&lt;P&gt;The code goes like&amp;nbsp;&lt;/P&gt;&lt;P&gt;s = CAS(host='sas-cas-server-default-client', port=5570, username='', password='').&lt;/P&gt;&lt;P&gt;I have looked for the host under the sas environment manager as for the username and password is it the exact same as the one I use to log in&lt;/P&gt;&lt;P&gt;onto sas viya?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 03:42:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/sas-logon-manager-authentication-failed-access-denied/m-p/906171#M2129</guid>
      <dc:creator>crack3n-collab</dc:creator>
      <dc:date>2023-12-05T03:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: sas logon manager authentication failed: access denied.</title>
      <link>https://communities.sas.com/t5/SAS-Viya/sas-logon-manager-authentication-failed-access-denied/m-p/906238#M2130</link>
      <description>Do you log in to Viya with a user name and password in SAS Logon, or through an SSO provider like Okta or Microsoft Entra ID? If you're using SSO then SAS Logon would not be able to validate your user ID and password.&lt;BR /&gt;&lt;BR /&gt;I might go the front end and get an authorization code:&lt;BR /&gt;&lt;A href="https://viya.example.com/SASLogon/oauth/authorize?client_id=SWAT&amp;amp;response_type=code" target="_blank"&gt;https://viya.example.com/SASLogon/oauth/authorize?client_id=SWAT&amp;amp;response_type=code&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Then authenticate by providing that code in your call (note the authorization code is only valid for a few minutes):&lt;BR /&gt;&lt;BR /&gt;s=CAS(host='&lt;A href="https://sas-cas-server-default-client:8777" target="_blank"&gt;https://sas-cas-server-default-client:8777&lt;/A&gt;' authcode='authcode_from_above')&lt;BR /&gt;&lt;BR /&gt;Alternatively you could get an oauth token directly and provide that, with SSO this would also require an authorization code.&lt;BR /&gt;&lt;BR /&gt;SWAT Authentication&lt;BR /&gt;&lt;A href="https://sassoftware.github.io/python-swat/getting-started.html?highlight=authentication#oauth-token" target="_blank"&gt;https://sassoftware.github.io/python-swat/getting-started.html?highlight=authentication#oauth-token&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Authentication to SAS Viya: a couple of approaches&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sgf/2023/02/07/authentication-to-sas-viya/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2023/02/07/authentication-to-sas-viya/&lt;/A&gt;</description>
      <pubDate>Tue, 05 Dec 2023 14:22:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/sas-logon-manager-authentication-failed-access-denied/m-p/906238#M2130</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-12-05T14:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: sas logon manager authentication failed: access denied.</title>
      <link>https://communities.sas.com/t5/SAS-Viya/sas-logon-manager-authentication-failed-access-denied/m-p/906404#M2131</link>
      <description>&lt;P&gt;I log in to Viya with a username and password. I have given what you said a try but it returns:&lt;/P&gt;&lt;PRE&gt;ERROR: Connection failed. Server returned: OAuth authentication failed: Access denied.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 08:35:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/sas-logon-manager-authentication-failed-access-denied/m-p/906404#M2131</guid>
      <dc:creator>crack3n-collab</dc:creator>
      <dc:date>2023-12-06T08:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: sas logon manager authentication failed: access denied.</title>
      <link>https://communities.sas.com/t5/SAS-Viya/sas-logon-manager-authentication-failed-access-denied/m-p/906440#M2132</link>
      <description>Are you able to connect to CAS from SAS Studio?</description>
      <pubDate>Wed, 06 Dec 2023 13:45:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/sas-logon-manager-authentication-failed-access-denied/m-p/906440#M2132</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-12-06T13:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: sas logon manager authentication failed: access denied.</title>
      <link>https://communities.sas.com/t5/SAS-Viya/sas-logon-manager-authentication-failed-access-denied/m-p/906680#M2133</link>
      <description>&lt;P&gt;Yeah I am able to connect to CAS from SAS studio&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 09:52:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/sas-logon-manager-authentication-failed-access-denied/m-p/906680#M2133</guid>
      <dc:creator>crack3n-collab</dc:creator>
      <dc:date>2023-12-07T09:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: sas logon manager authentication failed: access denied.</title>
      <link>https://communities.sas.com/t5/SAS-Viya/sas-logon-manager-authentication-failed-access-denied/m-p/906713#M2138</link>
      <description>You may wish to engage with SAS Technical Support to review the authentication failure from the CAS side.</description>
      <pubDate>Thu, 07 Dec 2023 14:49:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/sas-logon-manager-authentication-failed-access-denied/m-p/906713#M2138</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-12-07T14:49:50Z</dc:date>
    </item>
  </channel>
</rss>

