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

Basic http authentication for SSO #110

Closed
Janhouse opened this issue Feb 21, 2024 · 1 comment
Closed

Basic http authentication for SSO #110

Janhouse opened this issue Feb 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Janhouse
Copy link
Contributor

Would be great if basic http authentication could be used to authenticate users.

With SSO systems like Authentik you can use forward-auth to delegate authentication to the SSO system.
It can then send custom headers to the application which can use those headers to authenticate as a specific user.

In forward-auth scenario either a custom x-forwarded-username header can be used (which is injected by the forward-auth mechanism), or a basic http authentication could be used (credentials are injected by the forward-auth mechannism).

Backrest seems to use bearer authentication which would not work with Authentik.
So either supporting basic auth or defining header with the username would be great addition to support SSO forward-auth.

@Janhouse Janhouse added the enhancement New feature or request label Feb 21, 2024
@garethgeorge
Copy link
Owner

Sgtm, this can be supported by backrest. Happy to accept a PR if that’s something you’re interested in. I probably lean a bit in the direction of adding a basic auth mode (as opposed to bearer) mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants