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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.