Skip to main content
Solved

Power App custom connector error in Cloud

  • December 17, 2021
  • 3 replies
  • 456 views

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

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

This topic has been closed for replies.

3 replies

wahelk
Hero (Former Employee)
Forum|alt.badge.img+11
  • Author
  • Hero (Former Employee)
  • 154 replies
  • Answer
  • January 26, 2022

this is solved , problem with incorrect URLs for authentication


Alexander Heinze
Ultimate Hero (Employee)
Forum|alt.badge.img+23
  • Ultimate Hero (Employee)
  • 1053 replies
  • March 21, 2022

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)
  • 154 replies
  • March 22, 2022

Hi @Alexander Heinze ,

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

/Wasana