<?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 Generate a Custom Connector for an API that uses api key and user name as credentials in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Connector-for-an-API-that-uses-api-key-and/m-p/3208360#M42393</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to built a custom connector, by calling REST APIs to the IBM Cloud Pak For Data (ICPD).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The first API call should pass a username and an api_key, to an authorize_uri, and the response will contain an access token that will expire every 24 hours.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl -k -X POST -d &lt;SPAN class=""&gt;"{\"username\":\"{username}\",\"api_key\":\"{api_key}\"}"&lt;/SPAN&gt; &lt;SPAN class=""&gt;"https://{cpd_cluster_host}/icp4d-api/v1/authorize&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;The first porblem i am facing is that none of the authentication method found in Power BI (Anonymous, Basic, Windows API Key, Organizational) have a combination of&amp;nbsp; api_key username.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other issue that i am facing is that we use Single Sign on, using SAML, to log into ICPD platform directly, so i am not sure if i can use OAuth2 (after providing a client_id, client_secret, authorize_uri, authentication_uri,redirect_uri), and if not what are the parameters that i should provide during the authentication process.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is really appreciated.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2023 03:26:15 GMT</pubDate>
    <dc:creator>mkjit256</dc:creator>
    <dc:date>2023-04-27T03:26:15Z</dc:date>
    <item>
      <title>Generate a Custom Connector for an API that uses api key and user name as credentials</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Connector-for-an-API-that-uses-api-key-and/m-p/3208360#M42393</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to built a custom connector, by calling REST APIs to the IBM Cloud Pak For Data (ICPD).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The first API call should pass a username and an api_key, to an authorize_uri, and the response will contain an access token that will expire every 24 hours.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl -k -X POST -d &lt;SPAN class=""&gt;"{\"username\":\"{username}\",\"api_key\":\"{api_key}\"}"&lt;/SPAN&gt; &lt;SPAN class=""&gt;"https://{cpd_cluster_host}/icp4d-api/v1/authorize&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;The first porblem i am facing is that none of the authentication method found in Power BI (Anonymous, Basic, Windows API Key, Organizational) have a combination of&amp;nbsp; api_key username.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other issue that i am facing is that we use Single Sign on, using SAML, to log into ICPD platform directly, so i am not sure if i can use OAuth2 (after providing a client_id, client_secret, authorize_uri, authentication_uri,redirect_uri), and if not what are the parameters that i should provide during the authentication process.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is really appreciated.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 03:26:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Connector-for-an-API-that-uses-api-key-and/m-p/3208360#M42393</guid>
      <dc:creator>mkjit256</dc:creator>
      <dc:date>2023-04-27T03:26:15Z</dc:date>
    </item>
  </channel>
</rss>

