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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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