【问题标题】:Identity Server + ionic + OpenID Hybrid flowIdentity Server + ionic + OpenID 混合流
【发布时间】:2019-04-15 15:36:37
【问题描述】:

我找不到这种解决方案的任何示例。可行吗?据我所知,它应该是,但我还没有看到有人这样做。这种方式有什么缺点吗?

谢谢!

【问题讨论】:

    标签: ionic-framework openid ionic2 identityserver3 identityserver4


    【解决方案1】:

    Identity Server + Ionic + OpenID 混合流是可能的。对于 OIDC 混合流,您必须相应地配置 response_type 和范围。示例:配置 response_type: "id_token 令牌", 范围:“openid 配置文件”,

    关于如何配置你可以参考Configuring Identity Server with Ionic,其中response_type是“id_token token”,范围是“openid”,即OIDC Hybrid Flow。您可以根据需要指定 response_type。对于支持的 response_type 检查this link

    【讨论】:

      猜你喜欢
      • 2019-06-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-05-28
      • 2017-05-26
      • 2017-10-18
      • 2021-05-24
      • 1970-01-01
      相关资源
      最近更新 更多