Pinterest OAuth Redirect Uri not working

送分小仙女□ 提交于 2019-12-12 15:30:57

问题


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?


回答1:


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




回答2:


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.



来源:https://stackoverflow.com/questions/43421225/pinterest-oauth-redirect-uri-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!