Skip to content

feat(auth): Add LDAP authentication support#1621

Open
adamoutler wants to merge 6 commits into
netalertx:mainfrom
adamoutler:ldap-login
Open

feat(auth): Add LDAP authentication support#1621
adamoutler wants to merge 6 commits into
netalertx:mainfrom
adamoutler:ldap-login

Conversation

@adamoutler

@adamoutler adamoutler commented Apr 18, 2026

Copy link
Copy Markdown
Member

This PR introduces a comprehensive LDAP and Active Directory authentication provider for NetAlertX.

Key features include:

  • Native LDAP/AD login support configured directly from the UI or via Environment Variables for zero-touch deployment.
  • Full StartTLS and LDAPS support with strict certificate verification options.
  • Dynamic fallback to local admin if LDAP is unreachable or disabled.
  • Fully automated comprehensive Docker UI, backend, and API testing for LDAP workflows.
  • Dedicated documentation detailing Active Directory / OpenLDAP filtering and best practices.

(Authored in collaboration with AI)

Summary by CodeRabbit

  • New Features

    • LDAP/Active Directory authentication with UI login support, plugin test command, and in‑app idle notifications.
  • Security Enhancements

    • CSRF protection for login, stronger session cookie validation (HMAC), and server‑side login rate limiting.
  • Documentation

    • New comprehensive LDAP configuration guide with examples and best practices.
  • Tests

    • Extensive unit, integration, Docker and UI tests for LDAP/auth flows; CI test toggle for LDAP and updated test runtime setup (adds LDAP client dependency).

Loading
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.

3 participants