Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

How to create custom connector with OAuth2


I am trying to make my custom connector publicly available. I understand that I have to submit it as a PR on Microsoft's Github repo as a PR for certification. Here is my question: my custom connector uses generic OAuth2 flow for authentication. I created this custom connector in  the connector creation wizard from Power Automate. In the Security tab, I provided the Client Id, Client Secret and Refresh URL details and my connector is working perfectly fine.


Now, when I export it to an OpenAPI definition file, I see that the Client Id, Client Secret and Refresh URL details are missing from securityDefinitions section. Could you please help me to understand what is the process to embed these OAuth2 related fields in a public custom connector, without exposing the secrets?


Thanks in advance,


Community Support
Community Support


hope this link give you idea to star with custom connector

Have a good day.

Helpful resources

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!

Top Solution Authors
Top Kudoed Authors
Users online (1,657)