saltyorg / Sandbox

Saltbox Sandbox
GNU General Public License v3.0
66 stars 92 forks source link

Feat Request: Add SSO auth for thelounge #234

Closed ben-burns closed 1 year ago

ben-burns commented 1 year ago

I specifically avoid using thelounge on my saltbox setup because I don't want thelounge exposed to the public internet without another layer of auth in front of it (e.g., SSO). It would be nice to have Authelia in front of thelounge before you can log in (much like one can do with the *arrs).

saltydk commented 1 year ago

You can manually add authelia to any role you want, for future reference:


rolename_traefik_middleware_custom: "authelia"
ben-burns commented 1 year ago

Thanks for adding this! I've noticed after updating sb and thelounge image, it appears to not hit Authelia (also confirmed from Authelia logs). I've checked that the role has been updated to what is in https://github.com/saltyorg/Sandbox/commit/0bccfc2a432c9a2d8fbf8064b53c32d329d683c2, as well as reverted and tried rolename_traefik_middleware_custom: "authelia" to no avail.

I'll have some more time in the coming day to investigate further, however, I wanted to reach out in case there is something simple I have missed.

maximuskowalski commented 1 year ago

Did you run the role for thelounge after updating?

ben-burns commented 1 year ago

Did you run the role for thelounge after updating?

I did run the role after updating and still encountered the same result, unfortunately.

owine commented 1 year ago

If your authelia credentials are cached you will not see the prompt. Try in a private browsing window. If you need additional support on it, please join the Discord.