<?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: Where can I find all registered clients\applications for REST API? in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Where-can-I-find-all-registered-clients-applications-for-REST/m-p/682892#M929</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/68234"&gt;@Ullsokk&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Here is the REST call that returns all registered clients/applications:&lt;/P&gt;
&lt;PRE&gt;curl -X GET &lt;A href="https://mysasserver.sas.com/SASLogon/oauth/clients" target="_blank" rel="noopener"&gt;https://mysasserver.sas.com/SASLogon/oauth/clients&lt;/A&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you'd like to get a specific client, add the clientid to the call:&lt;/P&gt;
&lt;PRE&gt;curl -X GET https://mysasserver.sas.com/SASLogon/oauth/clients/sas.myapp&lt;/PRE&gt;
&lt;P&gt;And finally, if you'd like to delete a client use the delete method:&lt;/P&gt;
&lt;PRE&gt;curl -X DELETE &lt;A href="https://mysasserver.sas.com/SASLogon/oauth/clients/sas.myapp" target="_blank" rel="noopener"&gt;https://mysasserver.sas.com/SASLogon/oauth/clients/sas.myapp&lt;/A&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a blog post I wrote on authentication with Viya for more details:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sgf/2019/01/25/authentication-to-sas-viya/" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/sgf/2019/01/25/authentication-to-sas-viya/&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Sep 2020 11:12:27 GMT</pubDate>
    <dc:creator>joeFurbee</dc:creator>
    <dc:date>2020-09-10T11:12:27Z</dc:date>
    <item>
      <title>Where can I find all registered clients\applications for REST API?</title>
      <link>https://communities.sas.com/t5/Developers/Where-can-I-find-all-registered-clients-applications-for-REST/m-p/682884#M928</link>
      <description>&lt;P&gt;Where can I find an overview of all registered applications\clients from the VIYA REST API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have registered at least one client, and possibly some duplicates. But I cannot find any overview of registered clients in either SAS VIYA Environment manager or in the API documentation. Where are the clients stored?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 10:31:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Where-can-I-find-all-registered-clients-applications-for-REST/m-p/682884#M928</guid>
      <dc:creator>Ullsokk</dc:creator>
      <dc:date>2020-09-10T10:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find all registered clients\applications for REST API?</title>
      <link>https://communities.sas.com/t5/Developers/Where-can-I-find-all-registered-clients-applications-for-REST/m-p/682892#M929</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/68234"&gt;@Ullsokk&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Here is the REST call that returns all registered clients/applications:&lt;/P&gt;
&lt;PRE&gt;curl -X GET &lt;A href="https://mysasserver.sas.com/SASLogon/oauth/clients" target="_blank" rel="noopener"&gt;https://mysasserver.sas.com/SASLogon/oauth/clients&lt;/A&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you'd like to get a specific client, add the clientid to the call:&lt;/P&gt;
&lt;PRE&gt;curl -X GET https://mysasserver.sas.com/SASLogon/oauth/clients/sas.myapp&lt;/PRE&gt;
&lt;P&gt;And finally, if you'd like to delete a client use the delete method:&lt;/P&gt;
&lt;PRE&gt;curl -X DELETE &lt;A href="https://mysasserver.sas.com/SASLogon/oauth/clients/sas.myapp" target="_blank" rel="noopener"&gt;https://mysasserver.sas.com/SASLogon/oauth/clients/sas.myapp&lt;/A&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a blog post I wrote on authentication with Viya for more details:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sgf/2019/01/25/authentication-to-sas-viya/" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/sgf/2019/01/25/authentication-to-sas-viya/&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 11:12:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Where-can-I-find-all-registered-clients-applications-for-REST/m-p/682892#M929</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2020-09-10T11:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find all registered clients\applications for REST API?</title>
      <link>https://communities.sas.com/t5/Developers/Where-can-I-find-all-registered-clients-applications-for-REST/m-p/682957#M931</link>
      <description>&lt;P&gt;Thanks! Very familiar with the article, I have been using it a lot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this particular API documented somewhere? I can't find any official documentation regarding this particular GET request. A link would be much appreciated if you have one&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 15:09:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Where-can-I-find-all-registered-clients-applications-for-REST/m-p/682957#M931</guid>
      <dc:creator>Ullsokk</dc:creator>
      <dc:date>2020-09-10T15:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find all registered clients\applications for REST API?</title>
      <link>https://communities.sas.com/t5/Developers/Where-can-I-find-all-registered-clients-applications-for-REST/m-p/683177#M933</link>
      <description>&lt;P&gt;Tried getting a list of all applications, but got an error message;&lt;/P&gt;&lt;P&gt;"error":"insufficient_scope","error_description":"Insufficient scope for this resource","scope":"uaa.admin clients.read clients.adm&lt;BR /&gt;in sasapp zones.uaa.admin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need to register a new client\app with an admin scope, to retrieve the list of registered applications?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 07:06:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Where-can-I-find-all-registered-clients-applications-for-REST/m-p/683177#M933</guid>
      <dc:creator>Ullsokk</dc:creator>
      <dc:date>2020-09-11T07:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find all registered clients\applications for REST API?</title>
      <link>https://communities.sas.com/t5/Developers/Where-can-I-find-all-registered-clients-applications-for-REST/m-p/706868#M1056</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/68234"&gt;@Ullsokk&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I apologize that I did not see the follow up question/issue you posed on this thread.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try registering the client by adding the "clients.read" scope. I'm checking for certain, but the "openid" scope may be lacking rights to view registered clients list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an FYI, there are other scopes: clients.write, clients.admin, and clients.secrect, which I'm assuming adds additional rights.&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, 18 Dec 2020 20:08:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Where-can-I-find-all-registered-clients-applications-for-REST/m-p/706868#M1056</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2020-12-18T20:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find all registered clients\applications for REST API?</title>
      <link>https://communities.sas.com/t5/Developers/Where-can-I-find-all-registered-clients-applications-for-REST/m-p/712633#M1087</link>
      <description>You will find the doc here: &lt;A href="https://developer.sas.com/apis/rest/v3.5/CoreServices/#return-collection-of-clients" target="_blank"&gt;https://developer.sas.com/apis/rest/v3.5/CoreServices/#return-collection-of-clients&lt;/A&gt;</description>
      <pubDate>Wed, 20 Jan 2021 11:43:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Where-can-I-find-all-registered-clients-applications-for-REST/m-p/712633#M1087</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2021-01-20T11:43:26Z</dc:date>
    </item>
  </channel>
</rss>

