2017-04-12 24 views
0

我打算使用identityServer4来支持一些客户端。 服务器/主机实现有很多示例,我不确定选择哪一个作为起点。任何主机是否保持规律并具有最新的修复?我应该选择哪个IdentityServer4样本作为起点?

  • 我Asp.net核心MVC和web.api客户(大部分IdentityServer4样本含)
  • 我也有Web forms Client为IdentityServer3在VS2015
  • 我使用Azure中的Active Directory(AAD)和检查sample这是IdentityServer存储库之外的分支,但基于VS2015中的IdentityServer4外部提供程序示例
  • 我想使用持久性数据,因此我查看了IdentityServer4 EF Core Quickstarts/8_EntityFrameworkStorage Sample。如果有人有Azure Table Storage或Redis实施的示例,请告诉我?
  • 也有主IdentityServer4 repository主机。我认为它有最新的代码。但默认分支是dev-它足够稳定?

我应该以8_EntityFrameworkStorage为基础(因为它包含更多我需要的功能)或IdentityServer4主机? 或者某处存在另一个推荐的主机基地实施?

回答

1

最初我根据Quickstart #8: EntityFramework configuration我的工作,但发现用户存储我需要从Quickstart #6: IdentityServer and ASP.NET Identity ,这是完全不同的,尤其是在的AccountController ExternalLogin实现合并Asp.Net身份。 其他人还挣扎合并不同的快速入门(例如here

后来(可惜有点晚了我自己)我发现了一个辉煌的文章Getting Started with IdentityServer 4 与相应的源代码库https://github.com/scottbrady91/IdentityServer4-Example。 但请注意,存储库不是官方IdentityServer的一部分,可能会在将来变得过时。

我相信Scott Brady's IdentityServer4-Example是使用IdentityServer4最实际的起点。

相关问题