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.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,280)