mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[PR #1756] [MERGED] Implement native LDAP authentication #4518
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#4518
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/1756
Author: @pirate
Created: 1/6/2026
Status: ✅ Merged
Merged: 1/6/2026
Merged by: @pirate
Base:
dev← Head:claude/issue-1664-20260105-2125📝 Commits (1)
c2bb4b2Implement native LDAP authentication support📊 Changes
7 files changed (+415 additions, -10 deletions)
View changed files
📝
archivebox/config/__init__.py(+2 -0)➕
archivebox/config/ldap.py(+56 -0)📝
archivebox/core/settings.py(+60 -10)➕
archivebox/ldap/__init__.py(+17 -0)➕
archivebox/ldap/apps.py(+13 -0)➕
archivebox/ldap/auth.py(+49 -0)➕
archivebox/tests/test_auth_ldap.py(+218 -0)📄 Description
Summary
Implements native LDAP authentication support for ArchiveBox.
Changes
archivebox/config/ldap.pywith LDAPConfig classarchivebox/ldap/Django app with custom auth backendcore/settings.pyto conditionally load LDAP when enabledImplementation Approach
Fixes #1664
🤖 Generated with Claude Code
Summary by cubic
Adds native LDAP authentication with a dedicated Django app and config. Optional and only enabled when django-auth-ldap is installed and LDAP_ENABLED=True. Addresses #1664.
New Features
Migration
Written for commit
c2bb4b25cb. Summary will update on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.