cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DevlMTL2019
Level: Powered On

Custom Connector - Authorization: Basic API_KEY - how?

I am trying to connect to an external service which authenticates using Basic Authentication however the value of the parameter is the API Key. For example - headers:

 

Authorization: Basic *your_api_key_here*

 

I cant find how to configure this scenario as my options are either Basic Auth with Username/password OR No Auth (however when i specify authorization in request headers manually, this is also not allowed)

 

Any suggestions?

5 REPLIES 5
Community Support Team
Community Support Team

Re: Custom Connector - Authorization: Basic API_KEY - how?

Hi @DevlMTL2019,

 

How is the API key authentication configured in your definition?

There are several options available for authentication in custom connectors. The Cognitive Services APIs use API key authentication, so that’s what’s specified in the OpenAPI definition.

Please check more details about it at here:

https://docs.microsoft.com/en-us/connectors/custom-connectors/define-openapi-definition#review-authe...

Hope it could be your reference.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
DevlMTL2019
Level: Powered On

Re: Custom Connector - Authorization: Basic API_KEY - how?

There is no way to configure it the way i have illustrated above.

 

What i need is - "Authorization: Basic API_KEY"

What you have is:

- Basic Auth: Only has a place for Username + PWD so that you create your own hash of the two. I need to specify this value, not have you create it.

- API KEY: which uses a parameter passed in the header or query.

- No Auth: Wont allow me to specify Authorization headers in the action queries.

keatklein
Level: Powered On

Re: Custom Connector - Authorization: Basic API_KEY - how?

Still no solution for this?

DMum
Level: Powered On

Re: Custom Connector - Authorization: Basic API_KEY - how?

I am also looking for the solution . Thank you!


@keatklein wrote:

Still no solution for this?


 

ijlma84
Level: Power Up

Re: Custom Connector - Authorization: Basic API_KEY - how?

Any solution?

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,049)