<?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: Issue Creating OAuth Client in SAS Viya 3.5 – Unauthorized Response in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-Creating-OAuth-Client-in-SAS-Viya-3-5-Unauthorized/m-p/973338#M30249</link>
    <description>You need to get an oauth token before you can create a client. This request is failing because you are not providing an authorization header.&lt;BR /&gt;This blog explains the process well, you are performing step 2 there without having performed step 1.&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, 26 Aug 2025 18:50:49 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2025-08-26T18:50:49Z</dc:date>
    <item>
      <title>Issue Creating OAuth Client in SAS Viya 3.5 – Unauthorized Response</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-Creating-OAuth-Client-in-SAS-Viya-3-5-Unauthorized/m-p/973265#M30245</link>
      <description>&lt;DIV class="x_elementToProof" data-olk-copy-source="MessageBody"&gt;I am trying to register a new OAuth client in our SAS Viya 3.5 environment using the following command:&lt;/DIV&gt;
&lt;DIV class="x_elementToProof"&gt;curl -k -X POST "&lt;A href="https://Host_Name/SASLogon/oauth/clients" target="_blank"&gt;https://Host_Name/SASLogon/oauth/clients&lt;/A&gt;" \&lt;BR /&gt;-u "sas:xxxxxxxx" \&lt;BR /&gt;-H "Accept: application/json" \&lt;BR /&gt;-H "Content-Type: application/json" \&lt;BR /&gt;-d '{&lt;BR /&gt;"client_id": "myapi",&lt;BR /&gt;"client_secret": "Admin@12345",&lt;BR /&gt;"scope": ["openid"],&lt;BR /&gt;"authorized_grant_types": ["client_credentials", "refresh_token"]&lt;BR /&gt;}'&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV id="x_Signature"&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;However, I am consistently receiving the below error:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;{"error":"unauthorized","error_description":"Full authentication is required to access this resource"}&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Aug 2025 07:54:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Issue-Creating-OAuth-Client-in-SAS-Viya-3-5-Unauthorized/m-p/973265#M30245</guid>
      <dc:creator>SatishR</dc:creator>
      <dc:date>2025-08-26T07:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Creating OAuth Client in SAS Viya 3.5 – Unauthorized Response</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-Creating-OAuth-Client-in-SAS-Viya-3-5-Unauthorized/m-p/973338#M30249</link>
      <description>You need to get an oauth token before you can create a client. This request is failing because you are not providing an authorization header.&lt;BR /&gt;This blog explains the process well, you are performing step 2 there without having performed step 1.&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, 26 Aug 2025 18:50:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Issue-Creating-OAuth-Client-in-SAS-Viya-3-5-Unauthorized/m-p/973338#M30249</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-08-26T18:50:49Z</dc:date>
    </item>
  </channel>
</rss>

