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
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 tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Users online (2,484)