Hi @Andrew-asana I am receiving the following error invalid_request: The redirect_uri parameter does not match a valid url for the application
Can you please advise
Hi @hamaiza101 and welcome to the forum,
FYI I moved your post to a new thread so as to specifically address this error scenario.
What this error means is that in your OAuth authorization request, youâve sent a redirect_uri
value which is not listed in the âRedirect URLsâ section of your appâs OAuth page in your developer console.
To illustrate: letâs say this is the OAuth authorization request that youâre sending to https://app.asana.com/-/oauth_authorize
:
<a
href="https://app.asana.com/-/oauth_authorize
?client_id=753482910
&redirect_uri=https://myapp.com/auth_destination
&response_type=code
&state=thisIsARandomString
&code_challenge_method=S256
&code_challenge=671608a33392cee13585063953a86d396dffd15222d83ef958f43a2804ac7fb2
&scope=projects:read tasks:read tasks:write tasks:delete"
>
Authenticate with Asana
</a>
Your redirect_uri of https://myapp.com/auth_destination
must be specified here in your developer console:
Hi @Phil_Seeman we are using Asana through power automate the issue is when we go to create a connection we get this error. The issue is with new users and not old
Ah, OK, thatâs important information. I updated the title of your post to include that info. Iâm unfamiliar with the specifics of that integration, canât help you there. Others here have used it and might know whatâs up.
I have also started to have this issue with the built in Microsoft PowerAutomate connector in the past couple days. I am able to create an âAppâ in Asana that can pass the auth with a custom Api connection. This is just an issue with the built in connector for me