Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
mkjit256
Advocate II
Advocate II

Generate a Custom Connector for an API that uses api key and user name as credentials

Hello,

I am trying to built a custom connector, by calling REST APIs to the IBM Cloud Pak For Data (ICPD).


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. 

 

curl -k -X POST -d "{\"username\":\"{username}\",\"api_key\":\"{api_key}\"}" "https://{cpd_cluster_host}/icp4d-api/v1/authorize

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  api_key username.

 

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. 

 

Any help is really appreciated.  

 

0 REPLIES 0

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.