【发布时间】:2019-04-15 15:36:37
【问题描述】:
我找不到这种解决方案的任何示例。可行吗?据我所知,它应该是,但我还没有看到有人这样做。这种方式有什么缺点吗?
谢谢!
【问题讨论】:
标签: ionic-framework openid ionic2 identityserver3 identityserver4
我找不到这种解决方案的任何示例。可行吗?据我所知,它应该是,但我还没有看到有人这样做。这种方式有什么缺点吗?
谢谢!
【问题讨论】:
标签: ionic-framework openid ionic2 identityserver3 identityserver4
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
【讨论】: