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

OIDC / OAuth Support #183

Open
speatzle opened this issue Mar 11, 2024 · 3 comments
Open

OIDC / OAuth Support #183

speatzle opened this issue Mar 11, 2024 · 3 comments
Labels
under consideration Something I'm going to study for integration without knowing whether it will be done or not.

Comments

@speatzle
Copy link

Hi, i recently found BorgWarehouse and have been liking it so far.

I run BorgWarehouse behind Caddy as my Reverse Proxy and am using Authelia for Central User management and Reducing the Attack Surface (only Users logged into Authelia can send HTTP(s) Requests to BorgWarehouse and my other services preventing scanning and potential exploitation).

The only Problem i have is that this means i have to log in twice (once into Authelia and once into BorgWarehouse).

With other services i host i can use OIDC (OAuth) to Login using Authelia's session automatically or by pressing a Dedicated Button on the Login Page.

Alternatively Authelia also Supports Trusted Header SSO where the Service gets HTTP headers from the Proxy containing the Username and Group of the Currently logged in user (in Authelia) completely eliminating the necessity for session management by the Service, here is a introduction: https://www.authelia.com/integration/trusted-header-sso/introduction/

It would be much appreciated if you could support either of these options.

@rpirsc13
Copy link

rpirsc13 commented May 2, 2024

I don't believe that Next-Auth has support built for Authelia but a custom OIDC config can easily be made following the guide at https://next-auth.js.org/configuration/providers/oauth#using-a-custom-provider

@Ravinou Ravinou added the under consideration Something I'm going to study for integration without knowing whether it will be done or not. label May 12, 2024
@Menschomat
Copy link

This would be really cool.

@gXkch
Copy link

gXkch commented Dec 10, 2024

I would also like to see this. I would contribute myself. Sadly, I am not really familiar with Node / NextJS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
under consideration Something I'm going to study for integration without knowing whether it will be done or not.
Projects
None yet
Development

No branches or pull requests

5 participants