Identityserver4 ldap场景

问题描述 投票:3回答:3

我打算将identityserver4与LDAP场景一起使用。这是一次可能而且合理的尝试吗? :)我想我应该实现像QuickStart.UI的InMemoryUserLoginService这样的LoginService。

当IS4正式发布时?关于那个的任何信息?

感谢致敬。

ldap identityserver4
3个回答
2
投票

这是可能的,也是合理的,这是你必须自己实现的,它遵循与IdentityServer相关的许多其他事情相同的原则。

我们已使用System.DirectoryServices和System.DirectoryServices.AccountManagement命名空间将我们的IdSrv4成功连接到Active Directory。遗憾的是,这要求我们使用完整的.NET框架运行IdSrv4,因为这些命名空间尚未在.NET Core中实现。

提醒:在启动解决方案之前查找“LDAP注入”区域,以确保安全。


6
投票

我知道这是一个老问题,但我最近在Ldap(Active Directory或OpenLdap)+ IdentityServer4上工作。我创建了一个nuget包,在github存储库中,您可以找到一个实现示例。

这是Nuget:https://www.nuget.org/packages/IdentityServer.LdapExtension/

我希望它能有所帮助


1
投票

IdentityServer4 1.0.0于2016年12月22日发布给NuGet:https://www.nuget.org/packages/IdentityServer4/1.0.0

© www.soinside.com 2019 - 2024. All rights reserved.