Pinterest OAuth Redirect Uri not working

2019-08-01 10:07发布

I've been trying to get the pinterest api working on my project but I keep running into an issue with the redirect_uri. This is the error message I am getting.

{
    status : "failure",
    code : 7,
    host : "coreapp-ngapi-prod-0a018ab7",
    generated_at : "Sat, 15 Apr 2017 00:45:16 +0000",
    message : "You are not permitted to access that resource.",
    data : "The provided redirect_uri https://example.com/complete/pinterest/ does not match any of the registered redirect URIs."
}

I am running my site on https. I have https://example.com/ set as the site URL and https://example.com/complete/pinterest/ in the redirect uri (I've make sure to enter that so it's in the list, and save the page)

What could I be doing wrong?

2条回答
何必那么认真
2楼-- · 2019-08-01 10:51

If you're sure you've registered it correctly and using https, then try contacting Pinterest support

查看更多
贼婆χ
3楼-- · 2019-08-01 10:54

When you add a new Redirect URL on the Pinterest Developer board, you have to be sure that:

  • it is an HTTPS URL
  • it is correctly spelled

  • and VERY IMPORTANT: remember to press the ENTER key when you have finished to write the Redirect URL. The newly inserted URL will then appear under the text field and the classical "you have unsaved changes" will appear.

  • Click on the "Save" button and you are done.

Hope it helps.

查看更多
登录 后发表回答