cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
x001nx
Frequent Visitor

OAuth2 without providing client secret

Hello,

Is there a way to create a OAuth2 authorization connector without providing client_secret. The field is mandatory and if I provide a dummy value the connection "looks" successful but does not include Authorization in the header.

 

Our Oauth2 is set up for implicit grant and the work flow works fine in postman where I can just leave the field Client Secret blank.

 

Thanks

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Johnnyg
Community Support
Community Support

Hello x001nx
We understand that you would like to use implicit grant authorization in Custom connector
https://datatracker.ietf.org/doc/html/rfc6749#section-1.3.2 
Note that only Authorization Code Grant flows and On-Behalf-Of flows support refresh tokens. Implicit Grants and Client Credentials Grants do not support refresh tokens, so may not be used to authenticate Custom Connectors.

Official Doc Reference:
https://support.microsoft.com/en-us/topic/verifying-oauth-configuration-for-custom-connectors-ceadbd... 

Johnnyg_1-1628413296503.png

Johnnyg_0-1628413127184.png

Best Regards,
Johnny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Johnnyg
Community Support
Community Support

Hello x001nx
We understand that you would like to use implicit grant authorization in Custom connector
https://datatracker.ietf.org/doc/html/rfc6749#section-1.3.2 
Note that only Authorization Code Grant flows and On-Behalf-Of flows support refresh tokens. Implicit Grants and Client Credentials Grants do not support refresh tokens, so may not be used to authenticate Custom Connectors.

Official Doc Reference:
https://support.microsoft.com/en-us/topic/verifying-oauth-configuration-for-custom-connectors-ceadbd... 

Johnnyg_1-1628413296503.png

Johnnyg_0-1628413127184.png

Best Regards,
Johnny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (2,063)