Oauth error invalid_request: The redirect_uri is not whitelisted

Solved
IuriMoura
New Member
4 0 0


I'm creating my APP on shopify but the error Oauth error invalid_request: The redirect_uri is not whitelisted is happening when installing

I have all of these URLs listed in my app:

https://app.emanda.com.br/shopify/cadastro/
https://app.emanda.com.br/

The URL of my APP is https://app.emanda.com.br/shopify/cadastro/

The Url that is presenting the error is

https://emandadesenvolvimento.myshopify.com/admin/oauth/request_grant?client_id=d58ee324fa8c9ae98905...

I don't know where else to look for the error, does anyone have any suggestions?

0 Likes
Greg_Kujawa
Shopify Partner
965 80 204

This is an accepted solution.

Your redirect URI appears to include a specific URL path and a PHP page extension. All you need is a shorter version. Like https://thewebsite.com or https://thewebsite.com/path And ensure that the redirect URI exactly matches what you have defined in the app as whitelisted redirect points.

IuriMoura
New Member
4 0 0

Tnks @Greg_Kujawa your suggestion solved our problem

0 Likes
rony36
New Member
2 0 0

Not sure what is the problem with my app.

In App setting defined redirection URL and same URL is presented in OAuth URL.

Screen Shot 2021-01-24 at 3.08.44 PM.png

 

Screen Shot 2021-01-24 at 3.09.39 PM.pngCould you please help me to resolve this issue?

0 Likes