Skip to main content
Solved

Power App custom connector error in Cloud

  • Dec 17, 2021 9:26 AM UTC
  • 3 replies
  • 508 views

wahelk
Hero (Former Employee)
Forum|alt.badge.img+11

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

Best answer by wahelk

this is solved , problem with incorrect URLs for authentication

View original
This topic has been closed for replies.

3 replies

wahelk
Hero (Former Employee)
Forum|alt.badge.img+11
  • Author
  • Hero (Former Employee)
  • Answer
  • Jan 26, 2022 3:54 AM UTC

this is solved , problem with incorrect URLs for authentication


Alexander Heinze
Ultimate Hero (Employee)
Forum|alt.badge.img+25

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 ”


wahelk
Hero (Former Employee)
Forum|alt.badge.img+11
  • Author
  • Hero (Former Employee)
  • Mar 22, 2022 12:28 AM UTC

Hi @Alexander Heinze ,

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

/Wasana