【问题标题】:using Thinktecture.IdentityServer3 as a Federation Provider with transforming of claims使用 Thinktecture.IdentityServer3 作为联合提供者并转换声明
【发布时间】:2017-05-05 03:41:22
【问题描述】:

您好,我一直在尝试研究如何将 IdentityServer3 配置为一个多租户联合提供商,该提供商可以转换和丰富从 ADSF、Google+、Microsoft 帐户返回的声明。

是否有人有任何尝试执行以下操作的示例代码?

MyWebApp(multi-tenant) <-- IdSrv3 <---- ADFS
                            ^
                            |<------- Google+
                            |<------- Microsoft Account
                            |<------- Facebook Account

【问题讨论】:

    标签: claims-based-identity federated-identity thinktecture-ident-server


    【解决方案1】:

    您需要实现 IUserService - 特别是 AuthenticateExternalAsync 方法。在那里您会收到外部声明并以编程方式对其进行转换。

    https://identityserver.github.io/Documentation/docs/advanced/userService.html

    【讨论】:

    猜你喜欢
    • 2018-01-05
    • 1970-01-01
    • 2019-01-24
    • 1970-01-01
    • 2021-04-26
    • 2020-02-24
    • 1970-01-01
    • 2015-02-23
    • 1970-01-01
    相关资源
    最近更新 更多