Skip to main content

Hi,

 

I created a custom connector in Microsoft power app  with Oauth2 for cloud core environment. when test , got the below error. secondary/external URLs that's accessible from the internet. but the same works in postman for Oauth2 for both “authorization code” and “client credentials”,

 

Any idea why this ?

Regards,

Wasana

this is solved , problem with incorrect URLs for authentication


Hi @wahelk,  can you share the steps? I took the OpenAPI v2 definition from the API Explorer and created a custom connector with Generic OAuth2.

The Redirect URL is automatically set to https://global.consent.azure-apim.net/redirect and I cannot change it. When I test the connection, the login dialog pops up but immediately errors out: “ Invalid parameter: redirect_uri ”


Hi @Alexander Heinze ,

Did you update the IAM client with redirect URL? may be that is the issue?

/Wasana