Skip to content

Comments

Feature/ldap support#618

Open
big-dimple wants to merge 14 commits intoWei-Shaw:mainfrom
big-dimple:feature/ldap-support
Open

Feature/ldap support#618
big-dimple wants to merge 14 commits intoWei-Shaw:mainfrom
big-dimple:feature/ldap-support

Conversation

@big-dimple
Copy link

Summary

This PR adds comprehensive support for enterprise-grade LDAP and Active Directory authentication. It allows organizations to integrate their existing identity providers f user authentication and Just-In-Time (JIT) account provisioning.

Key Features

  • LDAP/AD Integration: Supports standard LDAP and Microsoft Active Directory.
  • JIT Provisioning: Automatically creates local user accounts upon successful LDAP login.
  • Status Sync: Synchronizes user status (enabled/disabled) from the LDAP directory.
  • Admin Safety Net: Ensures the local admin account remains functional as a fallback.
  • Onboarding UX: Includes a dedicated configuration UI in the System Settings and a detailed setup guide.

Changes

  • Backend: Added LDAPAuthService, LDAP client logic, and new database migrations for LDAP identity mapping.
  • Frontend: Added LDAP configuration views, enhanced the sidebar, and updated i18n (Chinese/English).
  • Documentation: Added README_ENTERPRISE_LDAP_CN.md for enterprise deployment instructions.

Verification

Verified in a WSL environment and internal enterprise networks with both OpenLDAP and AD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant