Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support header-based login (Remote-User) for reverse proxies #3143

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aroberts
Copy link

@aroberts aroberts commented Jul 4, 2022

This PR brings header-based login to huginn, supporting a common SSO pattern used with reverse proxies.

For many SSO setups, authentication can be handled entirely by the reverse proxy, and then services behind the proxy can receive HTTP headers describing the successfully authenticated user. For a more detailed explanation of this type of authentication, see the traefik docs here.

The feature is both controlled (on/off) and configured via environment variables. Users that don't already exist in the system are created, and if additional info is available in the headers, huginn can be configured to use that info to create new users (including a basic admin detecting strategy). More configuraiton details are available in .env.example.

build_docker_image.sh Outdated Show resolved Hide resolved
@dstar4138
Copy link

Howdy all, what were the blockers pulling this in? I would really like to gate Huginn behind Authelia. Thank you for your time!

@aroberts aroberts force-pushed the ar-remote-user-header-login branch from ead4435 to a7468f0 Compare July 30, 2023 01:59
@aroberts
Copy link
Author

@mechie just rebased this against the latest master; any chance this can get pulled in?

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.

None yet

3 participants