hay-kot / homebox

Homebox is the inventory and organization system built for the Home User
https://hay-kot.github.io/homebox/
GNU Affero General Public License v3.0
2.59k stars 179 forks source link

Allow Authentication via Authelia or Trusted Header SSO #270

Open verybadsoldier opened 1 year ago

verybadsoldier commented 1 year ago

What is the problem you are trying to solve with this feature?

I am running Homebox at home as a docker container but when accesing from outside my home network I would like to use Authelia for authentication and it would be great if it would be possible to authenticate to Homebox using Authelia.

What is the solution you are proposing?

Implement handling of trused headers as described here: https://www.authelia.com/integration/trusted-header-sso/introduction/#response-headers

What alternatives have you considered?

Proposing a single-user mode in Hombox that does not need authentication so Authelia can be used to authenticat when accessing Homebox from outside network but without the need to pass authentication information from Authelia to Homebox.

Additional context

No response

Contributions

tekjoey commented 1 year ago

+1 for this. I don't really care how SSO gets implemented. I only need one user, so removing the built in authentication and using a proxy would be fine by me, I already do that for one app.