【问题标题】:Implementation of Hybrid flow for Angular JSAngular JS 混合流的实现
【发布时间】:2017-06-01 19:10:25
【问题描述】:

我需要一些实施指南,我在服务器端有一个带有 ASP.NET Web API 的 AngularJS 客户端。这里有一些问题: 1. 我已经实现了隐式流程,我可以从 IdentityServer 获取 id_token 和 access_token。我想知道我们是否可以实现允许刷新令牌的混合流? 2) 在 JavaScript 客户端上处理会话管理的正确方法是什么?

【问题讨论】:

    标签: angularjs oauth-2.0 openid thinktecture identityserver3


    【解决方案1】:

    隐式流程不支持刷新令牌。授权流程可以,但不应在网站的 Javascript 客户端上使用。这可用于移动设备上的原生应用。

    Here is an article on why you shouldn't use Implicit Flow on mobile devices.

    【讨论】:

      猜你喜欢
      • 2018-05-01
      • 1970-01-01
      • 1970-01-01
      • 2015-12-04
      • 1970-01-01
      • 2017-10-15
      • 1970-01-01
      • 2020-01-28
      • 2021-01-22
      相关资源
      最近更新 更多