[GH-ISSUE #773] Feature Request: Support for external backend for authentication #1998

Open
opened 2026-03-01 17:55:42 +03:00 by kerem · 3 comments
Owner

Originally created by @dot-mike on GitHub (Jun 23, 2021).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/773

Type

  • Propose a brand new feature

What is the problem that your feature request solves

I want to authenticate with a custom backend like Authelia

Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes

User should be able to switch to a custom backend in the settings for authentication and set custom header

What hacks or alternative solutions have you tried to solve the problem?

Creating a middelware manually and setting proper header for authentication and adding it to settings.py solves this issue locally... see: https://docs.djangoproject.com/en/3.2/howto/auth-remote-user/

Authelia sets the Remote-User which translates to HTTP_REMOTE_USER

How badly do you want this new feature?

  • It would be nice to have eventually

  • I like ArchiveBox so far / would recommend it to a friend
Originally created by @dot-mike on GitHub (Jun 23, 2021). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/773 ## Type - [x] Propose a brand new feature ## What is the problem that your feature request solves I want to authenticate with a custom backend like Authelia ## Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes User should be able to switch to a custom backend in the settings for authentication and set custom header ## What hacks or alternative solutions have you tried to solve the problem? Creating a middelware manually and setting proper header for authentication and adding it to `settings.py` solves this issue locally... see: https://docs.djangoproject.com/en/3.2/howto/auth-remote-user/ Authelia sets the `Remote-User` which translates to `HTTP_REMOTE_USER` ## How badly do you want this new feature? - [x] It would be nice to have eventually --- - [x] I like ArchiveBox so far / would recommend it to a friend
Author
Owner

@pirate commented on GitHub (Jul 2, 2021):

I'd be open to merging PRs from other people to add this ability, but I'm unlikely to build it myself due to limited time.

If anyone wants to work on this please outline your proposed implementation here before you starting coding it!

<!-- gh-comment-id:872650175 --> @pirate commented on GitHub (Jul 2, 2021): I'd be open to merging PRs from other people to add this ability, but I'm unlikely to build it myself due to limited time. If anyone wants to work on this please outline your proposed implementation here before you starting coding it!
Author
Owner

@pirate commented on GitHub (Mar 1, 2024):

Closing is as complete for now because ArchiveBox supports both reverse proxy auth and LDAP now.

Open new issues for any future requests!

<!-- gh-comment-id:1972369623 --> @pirate commented on GitHub (Mar 1, 2024): Closing is as complete for now because ArchiveBox supports both reverse proxy auth and LDAP now. Open new issues for any future requests!
Author
Owner

@pirate commented on GitHub (Jul 21, 2024):

Reopening to track adding the CSRF_TRUSTED_ORIGINS config option.

<!-- gh-comment-id:2241346345 --> @pirate commented on GitHub (Jul 21, 2024): Reopening to track adding the CSRF_TRUSTED_ORIGINS config option.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#1998
No description provided.