cost 381 ms
"如何摆脱 simple-oauth2 getToken 方法中的 400 bad request 错误?" - How to get rid of 400 bad request error in simple-oauth2 getToken method?

我正在尝试创建一个我想要获取 Outlook 邮件的应用程序。 我正在使用简单的 OAuth 2.0 作为访问令牌。 我已成功获取代码。 当我尝试获取访问令牌以交换代码时,我收到 400 错误请求错误。 你能帮我做错什么吗。 请发表评论以获取更多信息。 ...

simple-oauth2 在令牌刷新时抛出“内容类型与 JSON 不兼容” - simple-oauth2 throws "The content-type is not JSON compatible" on token refresh

我在此示例中使用 simple-oauth2 来查询 Microsoft Graph。 到目前为止一切正常。 但是当我尝试刷新访问令牌var newToken = await storedToken.refresh(); ,我收到一个错误: 内容类型与 JSON 不兼容 这是在wreck的 ...

使用MS Graph access_token生成的特定凭据用户嵌入Outlook.com - Embed Outlook.com with especific credential user generated by MS Graph access_token

我可以使用MS Graph在我的网站上登录Outlook 365而无需用户操作。 我正在使用simple-oauth2模块和oauth2.ownerPassword.getToken方法从我的数据库生成带有用户名/密码的令牌。 我想在我的网站上为每个用户(使用他们的凭据)嵌入Outloo ...

来自此请求的重定向URI与来自授权请求的重定向URI不匹配,即使它们相同 - Redirect URI from this request does not match one from the authorize request even though they're the same

因此,我正在使用ORY / Hydra托管OAuth 2.0服务器,并且正在构建示例客户端以演示流程。 我在查询参数中使用redirect_uri调用/oauth2/auth端点,然后使用simple-oauth2稍后调用/oauth2/token来获取访问令牌。 我可以通过我的API将 ...

OAuth2无法使用simple-oauth2和Firebase函数进行Spotify身份验证返回身份验证令牌 - OAuth2 fails to return auth token using simple-oauth2 and Firebase Functions for Spotify Authentication

我一直在遵循Firebase团队为Instagram HERE编写的类似教程来开发用于Spotify的oauth2流程 我能够提交我的凭据并在url中返回用户代码和状态,但是当我运行该方法来提交代码以返回auth令牌时,我在Firebase函数中打印到控制台的auth令牌将返回: Auth ...


排序:
质量:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM