【问题标题】:IdentityServer4 and Web API .NET 4.6.2IdentityServer4 和 Web API .NET 4.6.2
【发布时间】:2016-11-25 22:12:34
【问题描述】:

是否有 OWIN 中间件可以与标准 .NET 4.6.2(非核心)框架一起使用来验证来自 IdentityServer4 的令牌。

类似的东西 https://github.com/IdentityServer/IdentityServer4.AccessTokenValidation

【问题讨论】:

    标签: owin identityserver3 identityserver4


    【解决方案1】:

    一个错误已解决,现在通过将 IdentityServer3.Accesstokenvalidation 升级到“v2.13.0”,您可以使用来自 Idsv4 的令牌。

    更多详情:

    https://github.com/IdentityServer/IdentityServer3.AccessTokenValidation/issues/124

    【讨论】:

    • 由于需要与 IdentityModel 兼容,我们是否必须在 4.6.1 项目中将 IdentityModel 从 3.3.1 降级到 2.0.0?谢谢
    • 降级也阻止了我使用它。
    【解决方案2】:

    即使项目 README.md 显示 OWIN Middleware to validate access tokens from IdentityServer v3。理论上它应该仍然适用于 IDS4 令牌:

    https://github.com/IdentityServer/IdentityServer3.AccessTokenValidation

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-11-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-03-09
      • 1970-01-01
      • 2017-02-15
      • 2018-12-06
      相关资源
      最近更新 更多