#9056·wallabag

SSO through trusted header

Author: hydrargyrumCreated Sep 21, 2026Updated Sep 21, 2026

Is your feature request related to a problem? Please describe.

I host many services, each one having their own authentication, but this is tedious. I started to setup an SSO with authelia (which can even have 2FA) to proxy some services.

Describe the solution you'd like

If wallabag is behind a reverse proxy, it could be configured to trust a header only the proxy could set, and if set, wallabag would consider the auth already done. For example paperless supports it: https://www.authelia.com/integration/trusted-header-sso/paperless/ This is only for the webUI, not for API routes called by (for example) client apps.

The user auths through authelia and the proxy adds a header with the username. Wallabag would consider the user logged in with this header (and maybe can send the user a valid session cookie to follow the usual path, but that may not be needed)

Describe alternatives you've considered

If wallabag doesn't handle it, either it's behind double authentication or the SSO must be disabled for wallabag.