Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Oauth error invalid_request: The redirect_uri and application url must have matching hosts #67

Open
priyank-panchal-inferenz opened this issue Jun 20, 2023 · 4 comments

Comments

@priyank-panchal-inferenz
Copy link

priyank-panchal-inferenz commented Jun 20, 2023

App url : http://localhost:8000/
allowed url : http://localhost:8000/shopify/finalize/
I apologize for any inconvenience caused by the error . could you please provide more details about the error?

@devBuggs
Copy link

App url : http://localhost:8000/ allowed url : http://localhost:8000/shopify/finalize/ I apologize for any inconvenience caused by the error . could you please provide more details about the error?

you must use ngrok to server your local development server over https

then you have to set ngrok_url to your shopify partner/app setup

App Url : https://abc.ngrok-free.app/
Allowed redirection URL(s) : http://abc.ngrok-free.app/shopify/finalize

NOTE : you can solve this issue by using readme file in the project repo.

@priyank-panchal-inferenz
Copy link
Author

I'm following the instructions in the readme file, but I'm still unable to establish a connection.

@devBuggs
Copy link

devBuggs commented Aug 23, 2023

I'm following the instructions in the readme file, but I'm still unable to establish a connection.

Can you share your project repo for review your code?
I am using the same codebase, and it's working perfectly with the instructions.

@jackyq2015
Copy link

Same issue. Followed the readme and used 'http'. Should I set the version from .env file?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants