Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Pinterest HTTPS redirect issue #6

Open
yongyi520 opened this issue Aug 9, 2016 · 1 comment
Open

Pinterest HTTPS redirect issue #6

yongyi520 opened this issue Aug 9, 2016 · 1 comment

Comments

@yongyi520
Copy link

yongyi520 commented Aug 9, 2016

Hi,

It seems like Pinterest is only interested in redirect URI's with "https" rather than "http".

Is there a way for me to edit the redirect URI for pinterest-api?

I am thinking about a port forwarding address with ngrok. The developer would customize callback url to random address such as "https://15f03ea4.ngrok.io" which would forward to the original wanted address such as http://localhost:3000/auth/pinterest/callback

Thank You

@jaypandya73
Copy link

@yongyi520 - Yes, it is requirement by Pinterest(https://developers.pinterest.com/docs/api/overview/) that we should use https instead of http.
And as you mentioned if you want to test Pinterest API on Localhost then ngrok is the best option. I have tried it and it worked.

Just to sure don't forget to add your callback url in your Pinterest developer application each and every time which is generated by ngrok.

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

No branches or pull requests

2 participants