Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Active Directory Integration with Identity Server #1189

Closed
shahjeet297 opened this issue Mar 28, 2024 · 2 comments
Closed

Active Directory Integration with Identity Server #1189

shahjeet297 opened this issue Mar 28, 2024 · 2 comments

Comments

@shahjeet297
Copy link

We are planning to use the latest version of duende identity server.

.Net 6.0

We would like to integrate with Active Directory and do the password management UI for the same.

Please suggest a better approach how we can access the Active Directory to validate the credentials and set the credentials if user reset their password.

@josephdecock
Copy link
Member

josephdecock commented Apr 3, 2024

The appropriate way to integrate with "Active Directory" depends on if you are referring to Azure AD or a traditional Active Directory (on prem)?

To integrate Azure AD with IdentityServer, you add the microsoft authentication handler, configure it, and then invoke the external authentication process by challenging the handler's scheme.

To integrate with on prem Active Directory, one option is to use Windows Authentication (appropriate on an intranet where everything is joined to a windows domain). Alternatively, your login page could take in the username and password, and check those credentials against active directory using LDAP.

Fundamentally, however you authenticate the user, the ultimate job of the login page is to issue the IdentityServer session cookie and redirect back to the IdentityServer middleware. From the point of view of the IdentityServer engine, the storage of users and validation of their credentials is just an implementation detail of the login page.

Microsoft has lots of resources on Active Directory. Here are some to get you started:

@josephdecock josephdecock self-assigned this Apr 3, 2024
@RolandGuijt
Copy link

I'm assuming Joe's comment helped so closing for now. Feel free to re-open if you have something else around this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants