ArchiveBox/ArchiveBox

Feature Request: Support for external backend for authentication

Open

#773 aperta il 23 giu 2021

Vedi su GitHub
 (3 commenti) (3 reazioni) (0 assegnatari)Python (1069 fork)batch import
help wantedsize: mediumstatus: donetouches: API/CLI/Spectouches: configurationtouches: docswhy: security

Metriche repository

Star
 (19.591 star)
Metriche merge PR
 (Merge medio 19h 51m) (2 PR mergiate in 30 g)

Descrizione

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

Guida contributor