pinterest-api icon indicating copy to clipboard operation
pinterest-api copied to clipboard

Pinterest HTTPS redirect issue

Open yongyi520 opened this issue 9 years ago • 1 comments

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

yongyi520 avatar Aug 09 '16 08:08 yongyi520

@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.

jaypandya73 avatar Nov 02 '16 08:11 jaypandya73