无法请求OAuth AccessTokens [英] Couldn't request OAuth AccessTokens

查看:60
本文介绍了无法请求OAuth AccessTokens的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

从早上起,我在连接API时遇到以下错误。有人可以建议如何解决它。我认为这是因为我改变了我的Microsoft帐户密码。我正在使用Oauth 2进行身份验证。 

Since morning I am getting the below error while connecting to API. can someone suggest on how to resolve it. I think it's happening since i changed my Microsoft account password. I am using Oauth 2 for authentication. 

错误:

无法请求OAuth AccessTokens。请使用getDetails()方法获取更多信息。详细信息:invalid_grant - 无法对用户进行身份验证或授予已过期。用户必须首先登录并在必要时授予客户端应用程序
访问请求范围的权限。

Couldn't request OAuth AccessTokens. Please use the getDetails() method to get more information. Details: invalid_grant - The user could not be authenticated or the grant is expired. The user must first sign in and if needed grant the client application access to the requested scope.

提前致谢。

Sreekanth

Sreekanth

推荐答案

您好。

是的,这可能是因为您更改了密码而发生的。 

Yes this likely occurred because you changed your password. 

"您可能需要从步骤1重新开始并请求用户同意,例如您 签名
用户出局
,Microsoft帐户用户更改了他们的通行证单词,从可信设备列表中删除设备,或删除权限
,以便您的应用程序代表他们进行身份验证。 "

https://msdn.microsoft.com/en-us/library/bing-ads-user-authentication-oauth-guide.aspx#authorizationcode

我希望这有帮助!

Eric


这篇关于无法请求OAuth AccessTokens的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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