Reputation: 3573
I'm trying to use Pinterest apis for fetching some information. In order to get access to that, I need access token which can be returned using Pinterest Javascript SDK, PDK. Refer to this I'm able to integrate in my web app but when trying to fetch the token, it gives me following response:
{"status": "failure", "code": 7, "host": "coreapp-ngapi-prod-cc8abc1f", "generated_at": "Sat, 03 Oct 2015 08:05:09 +0000", "message": "You are not permitted to access that resource.", "data": "The provided redirect_uri does not match any of the registered redirect URIs."}
Also, on looking at the Pinterest app which I have created, it seems that redirect uris field is empty even though I gave that redirect uri initially during intitial registration. If I try to update that field, there is no option of Save my changes. Can anyone please tell me any work around ? Also, I have tried using basic site url in redirect params and https but still no help.
Thanks
Upvotes: 2
Views: 2065
Reputation: 399
So it's not obvious in their interface how to properly set up URIs -- what you need to do is just press ENTER and then it adds to a list of URIs below that textbox. And each one must be https:// -- they don't allow redirects to unencrypted pages.
Upvotes: 3