Pinterest的官方OAuth2流程看似返回无效访问令牌 [英] Pinterest's official OAuth2 flow seemingly returns an invalid access token

查看:753
本文介绍了Pinterest的官方OAuth2流程看似返回无效访问令牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我跟着Pinterest的的指示验证用户并完成第2步后,我我拿着我的手一个访问令牌。然而,当我使用这个访问令牌进行API调用,我得到以下回应:

I followed the Pinterest's instructions to authenticate a user and after completing step 2 I am holding an access token in my hands. However, when I use this access token to make an API call I get the following response:

{"status": "failure", "code": 3, "host": "coreapp-devplatform-devapi-179", "generated_at": "Sat, 26 Sep 2015 15:11:35 +0000", "message": "Authorization failed.", "data": null}

当我使用令牌生成的呼叫成功的API。在这两种情况下,我尝试:

When I use the Token Generator the API calls succeed. In both cases I tried:

https://api.pinterest.com/v1/me/?access_token=<YOUR-ACCESS-TOKEN>

任何想法?

更新:从Pinterest的扎克雅阁只是啾啾他们对他们的最终修复工作。 https://twitter.com/zackargyle/status/648547619229138944

Update: Zack Argyle from Pinterest just tweeted they are working on a fix on their end. https://twitter.com/zackargyle/status/648547619229138944

推荐答案

从Pinterest的扎克雅阁只是啾啾,他们部署的解决了我所描述的问题的修正:
https://twitter.com/zackargyle/status/648602180002312192

Zack Argyle from Pinterest just tweeted that they deployed a fix which solves the problem I described: https://twitter.com/zackargyle/status/648602180002312192

总结起来:

这篇关于Pinterest的官方OAuth2流程看似返回无效访问令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆