【问题标题】:azure app service in node JWT signature validation fialed节点 JWT 签名验证中的 azure 应用服务失败
【发布时间】:2017-02-20 06:09:42
【问题描述】:

在进行 google 身份验证时,我的 azure app 服务(使用节点)出现此错误: PID[8116] Warning JWT validation failed: IDX10501: Signature validation failed. Key tried: 'System.IdentityModel.Tokens.RsaSecurityKey'.

不知道从这里去哪里。任何帮助表示赞赏!

【问题讨论】:

  • 谁在生成令牌?天蓝色广告?

标签: node.js azure azure-web-app-service jwt azure-authentication


【解决方案1】:

从昨晚开始,我注意到 .Net 上的 azure 移动应用服务出现了同样的问题:

Microsoft.Azure.AppService.Authentication Warning: 0 :
JWT validation failed: IDX10501: Signature validation failed. 
Key tried: 'System.IdentityModel.Tokens.RsaSecurityKey'.

token: '{"alg":"RS256","kid":"fdcaa63240ed28eae381d1643d4cc9356dc397eb"}

我还没有找到解决方案,但在我看来不是,好像它与kid 有某种关系。只有当id_tokenkid 是错误消息中的一个而不是here 的其他3 个之一时,才会出现错误(对我来说,目前)。

您能否确认您是否也是这种情况?

【讨论】:

    猜你喜欢
    • 2018-10-02
    • 2016-06-12
    • 2018-04-30
    • 2021-09-10
    • 2022-10-18
    • 2021-04-03
    • 2016-12-16
    • 1970-01-01
    • 2017-08-12
    相关资源
    最近更新 更多