<?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: Full authentication is required to access this resource when trying to register client in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/720617#M1135</link>
    <description>&lt;P&gt;Ok so...an update on this: it appears that the problem was down to a slight difference in URL for the AWS server on the private subnet. One the admins lucked into trying the client registration with a different URL....hey presto it works.&lt;/P&gt;&lt;P&gt;Never in a million years would that have occurred to me as the source of the problem!&lt;/P&gt;</description>
    <pubDate>Sat, 20 Feb 2021 04:56:06 GMT</pubDate>
    <dc:creator>klay_martens</dc:creator>
    <dc:date>2021-02-20T04:56:06Z</dc:date>
    <item>
      <title>Full authentication is required to access this resource when trying to register client</title>
      <link>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/720111#M1132</link>
      <description>&lt;P&gt;Hi all. I am thinking this may be a config issue. When trying to register a client for Viya, I get the above error (I am following this document&amp;nbsp;&lt;A href="https://developer.sas.com/reference/auth/#register" target="_blank"&gt;https://developer.sas.com/reference/auth/#register&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I am not sure if perhaps there was a deployment or config step left or what, and the logs are extremely unhelpful. Anyone run into this, maybe?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 06:09:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/720111#M1132</guid>
      <dc:creator>klay_martens</dc:creator>
      <dc:date>2021-02-18T06:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Full authentication is required to access this resource when trying to register client</title>
      <link>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/720380#M1133</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/369945"&gt;@klay_martens&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you provide the call you made when you received the error? What method did you use to attempt the registration? cURL? Postman, something else?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, feel free to follow the instructions in &lt;A href="https://blogs.sas.com/content/sgf/2019/01/25/authentication-to-sas-viya/" target="_self"&gt;my blog post on the same subject&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 02:04:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/720380#M1133</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2021-02-19T02:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Full authentication is required to access this resource when trying to register client</title>
      <link>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/720399#M1134</link>
      <description>&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;I tried with both CURL and PostMan - same error both times...&lt;/P&gt;&lt;P&gt;This is the request I am using to generate the token (which works)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl -k -X POST "&amp;lt;url&amp;gt;/SASLogon/oauth/clients/consul?callback=false&amp;amp;serviceId=app" \
-H "X-Consul-Token: &amp;lt;token&amp;gt;"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then the registration post fails:&lt;/P&gt;&lt;PRE&gt;curl -k -v -X POST "&amp;lt;url&amp;gt;/SASLogon/oauth/clients" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer &amp;lt;access token from step 1&amp;gt;" \
-d '{
"client_id": "mdsnew",
"client_secret": "itsnotasecret",
"scope": ["openid","SASScoreUsers"],
"authorized_grant_types": ["password"],
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob", "access_token_validity": 43199 }'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This kicks back the following reply:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;gt; Content-Length: 259
&amp;gt;
* upload completely sent off: 259 out of 259 bytes
&amp;lt; HTTP/1.1 500
&amp;lt; Date: Fri, 19 Feb 2021 05:47:29 GMT
&amp;lt; Server: Apache/2.4
&amp;lt; SAS-Service-Response-Flag: true
&amp;lt; Cache-Control: no-cache, no-store, max-age=0, must-revalidate
&amp;lt; Pragma: no-cache
&amp;lt; Expires: 0
&amp;lt; Strict-Transport-Security: max-age=31536000 ; includeSubDomains
&amp;lt; X-Frame-Options: DENY
&amp;lt; Content-Type: application/vnd.sas.error+json; version=2;charset=UTF-8
&amp;lt; X-Content-Type-Options: nosniff
&amp;lt; X-XSS-Protection: 1; mode=block
&amp;lt; Vary: User-Agent
&amp;lt; Connection: close
&amp;lt; Transfer-Encoding: chunked
&amp;lt;
* Closing connection 0
{"errorCode":1008,"message":"A data error occurred that prevented the successful completion of the operation.","details":["traceId: ed44cc0ad1c3a263","path: /SASLogon/oauth/clients"],"remediation":null,"links":[],"version":2,"httpStatusCode":500}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I access the server with the URL and traceId above, I get&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="line"&gt;&lt;PRE&gt;&amp;lt;oauth&amp;gt;
&amp;lt;error_description&amp;gt;Full authentication is required to access this resource&amp;lt;/error_description&amp;gt;
&amp;lt;error&amp;gt;unauthorized&amp;lt;/error&amp;gt;
&amp;lt;/oauth&amp;gt;&lt;/PRE&gt;Log files on the server are super unhelpful as well - this is from&amp;nbsp;/opt/sas/viya/config/var/log/saslogon/default/sas-saslogon_*.log.&lt;/DIV&gt;&lt;DIV class="line"&gt;Not sure if we can find more details elsewhere? Its a bit of a frustrating error!&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;PRE&gt;021-02-19 07:47:30.006 ERROR 8733 --- [-auto-1-exec-17] com.sas.commons.rest.ExceptionLog        : service [ed44cc0ad1c3a263] org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0&lt;/PRE&gt;I am pretty sure I am submitting the request correctly - thinking there might be a config problem somewhere...&lt;/DIV&gt;&lt;DIV class="line"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 05:56:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/720399#M1134</guid>
      <dc:creator>klay_martens</dc:creator>
      <dc:date>2021-02-19T05:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Full authentication is required to access this resource when trying to register client</title>
      <link>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/720617#M1135</link>
      <description>&lt;P&gt;Ok so...an update on this: it appears that the problem was down to a slight difference in URL for the AWS server on the private subnet. One the admins lucked into trying the client registration with a different URL....hey presto it works.&lt;/P&gt;&lt;P&gt;Never in a million years would that have occurred to me as the source of the problem!&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2021 04:56:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/720617#M1135</guid>
      <dc:creator>klay_martens</dc:creator>
      <dc:date>2021-02-20T04:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Full authentication is required to access this resource when trying to register client</title>
      <link>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/720895#M1136</link>
      <description>&lt;P&gt;Glad it worked out&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/369945"&gt;@klay_martens&lt;/a&gt;. Let us know if you're working on anything interesting. We're always on the lookout for compelling use cases to share.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 12:35:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/720895#M1136</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2021-02-22T12:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Full authentication is required to access this resource when trying to register client</title>
      <link>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/743644#M1183</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/369945"&gt;@klay_martens&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ik get the same error as you:&lt;/P&gt;
&lt;PRE&gt;{"errorCode":1008,&lt;BR /&gt; "message":"A data error occurred that prevented the successful completion of the operation.",&lt;BR /&gt; "details":["traceId: 06902c391b830125",&lt;BR /&gt;            "path: /SASLogon/oauth/clients"],&lt;BR /&gt; "remediation":null,&lt;BR /&gt; "links":[],&lt;BR /&gt; "version":2,&lt;BR /&gt; "httpStatusCode":500&lt;BR /&gt;}&lt;/PRE&gt;
&lt;P&gt;and I am also running on AWS. Can you share what you changed to make it work?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Bart&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 17:43:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/743644#M1183</guid>
      <dc:creator>bheinsius</dc:creator>
      <dc:date>2021-05-25T17:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Full authentication is required to access this resource when trying to register client</title>
      <link>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/743817#M1184</link>
      <description>&lt;P&gt;There were two URL's we could use to access the service. Client registration only worked on one of them. This may be the same as your current issue, or there may be something else wrong.&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 11:27:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/743817#M1184</guid>
      <dc:creator>klay_martens</dc:creator>
      <dc:date>2021-05-26T11:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Full authentication is required to access this resource when trying to register client</title>
      <link>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/814993#M1449</link>
      <description>&lt;P&gt;Hi, I am having this issue. Your solution mentions two urls, which is the other one? Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 10:15:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/814993#M1449</guid>
      <dc:creator>brendanb</dc:creator>
      <dc:date>2022-05-25T10:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Full authentication is required to access this resource when trying to register client</title>
      <link>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/814994#M1450</link>
      <description>&lt;P&gt;So I think you need to be sure you are using the right client. As I understand it, this is caused by a multi tenant install, so that was the 2 URL's - had to be sure that the correct one was used to register the client. This issue does not show itself on a single tenant installation.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 10:23:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/814994#M1450</guid>
      <dc:creator>klay_martens</dc:creator>
      <dc:date>2022-05-25T10:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Full authentication is required to access this resource when trying to register client</title>
      <link>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/814996#M1451</link>
      <description>&lt;P&gt;Aha!, I was using tenant specific URL, removed tenant and voila. Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 11:01:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Full-authentication-is-required-to-access-this-resource-when/m-p/814996#M1451</guid>
      <dc:creator>brendanb</dc:creator>
      <dc:date>2022-05-25T11:01:37Z</dc:date>
    </item>
  </channel>
</rss>

