<?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: Creating new oauth client through api in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Creating-new-oauth-client-through-api/m-p/2458008#M20713</link>
    <description>&lt;P&gt;you would need to call the Post /v1/oauth-clients api.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://qlik.dev/apis/rest/oauth-clients/#%23%2Fentries%2Fv1%2Foauth-clients-post" target="_blank"&gt;https://qlik.dev/apis/rest/oauth-clients/#%23%2Fentries%2Fv1%2Foauth-clients-post&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "appType": "web",
    "clientName": "Test",
    "allowedScopes": [
        "user_default",
        "admin_classic",
        "&amp;lt;other relevant permissions&amp;gt;"
    ],
    "redirectUris": [
        "http://127.0.0.1/callback"
    ],
    "allowedGrantTypes": [
        "client_credentials",
        "urn:qlik:oauth:user-impersonation"
    ]
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NB: if in doubt, open the dev tools in your browser, and perform the creation steps in the UI. the UI uses the same rest apis, so you can inspect what happens and replicate in your code.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marc_0-1717119362897.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167130iF6A0CB8E0AF65296/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marc_0-1717119362897.png" alt="Marc_0-1717119362897.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marc_1-1717119407263.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167131i2CA39EFA6F18A246/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marc_1-1717119407263.png" alt="Marc_1-1717119407263.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2024 01:37:07 GMT</pubDate>
    <dc:creator>Marc</dc:creator>
    <dc:date>2024-05-31T01:37:07Z</dc:date>
    <item>
      <title>Creating new oauth client through api</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Creating-new-oauth-client-through-api/m-p/2454752#M20620</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;After creating a new tenant through api how do I setup the &lt;A href="https://qlik.dev/authenticate/oauth/create-oauth-client-m2m-impersonation/" target="_self"&gt;oauth2 m2m impersonation client&lt;/A&gt;&amp;nbsp;through api?&lt;BR /&gt;Is there a trick or do I have to make the one I have published and shared between all tenants?&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;Johan&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 14:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Creating-new-oauth-client-through-api/m-p/2454752#M20620</guid>
      <dc:creator>_Johan</dc:creator>
      <dc:date>2024-05-21T14:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new oauth client through api</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Creating-new-oauth-client-through-api/m-p/2458008#M20713</link>
      <description>&lt;P&gt;you would need to call the Post /v1/oauth-clients api.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://qlik.dev/apis/rest/oauth-clients/#%23%2Fentries%2Fv1%2Foauth-clients-post" target="_blank"&gt;https://qlik.dev/apis/rest/oauth-clients/#%23%2Fentries%2Fv1%2Foauth-clients-post&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "appType": "web",
    "clientName": "Test",
    "allowedScopes": [
        "user_default",
        "admin_classic",
        "&amp;lt;other relevant permissions&amp;gt;"
    ],
    "redirectUris": [
        "http://127.0.0.1/callback"
    ],
    "allowedGrantTypes": [
        "client_credentials",
        "urn:qlik:oauth:user-impersonation"
    ]
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NB: if in doubt, open the dev tools in your browser, and perform the creation steps in the UI. the UI uses the same rest apis, so you can inspect what happens and replicate in your code.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marc_0-1717119362897.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167130iF6A0CB8E0AF65296/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marc_0-1717119362897.png" alt="Marc_0-1717119362897.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marc_1-1717119407263.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167131i2CA39EFA6F18A246/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marc_1-1717119407263.png" alt="Marc_1-1717119407263.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 01:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Creating-new-oauth-client-through-api/m-p/2458008#M20713</guid>
      <dc:creator>Marc</dc:creator>
      <dc:date>2024-05-31T01:37:07Z</dc:date>
    </item>
  </channel>
</rss>

