
Announcements
I am working on a custom connector that uses the OAuth 2.0 .. now I am not sure how we can authorize the API calls in this case? i mean if we use the API key, then we can authorize the request using this API key, which the user will enter when they want to use the custom connector inside their Power Automate flows. but seems if we chose to use OAuth 2.0 as the security option when building the custom connector, then there is not any data that will be filled by the end users who will be using/consuming the custom connector inside their Power automate flows... so inside our system which expose the APIs, we can not identify the user who has performed the API call.. am i missing something? in other word how the authorization will be done if we build a custom connector using the OAuth 2.0 as the security option, compared to API keys?
Thanks
You can set up your OAuth properties in your connector as per this tutorial - How to use OAuth2.0 in Power Automate Custom Conne... - Power Platform Community (microsoft.com) For Oauth too, the user authorization takes place when the user creates connection. They will be shown a consent dialogue to give credentials and consent for the connection to your API. This will happen the first time they launch the App, which is when all the connections are setup for that user.