I am new here. I was trying to build my first App, following the tutorial with the Shopify CLI, but i am getting errors when accessing my localhost or ngrok link as shown below.
My Steps:
I have created using the command line: shopify create
Choose NodeJS
Everything was perfectly installed with no errors
I have installed the App in my store with no problems
.env file was updatedautomatically my ngrok link, also the app configs in the partner dashboard
I am going to develop a custom app to my customer and appreciate your help.
Oauth error invalid_request: The redirect_uri is not whitelisted
When i try to access the ngrok link with auth, it succeed but redirects me to the embed app.
and when i try to access the ngrok link without auth (https://90d3121fb450.ngrok.io/) i got the error about the shopOrigin as mentioned about, even if it is present in the cookies: