Live data from Hacker News

Vaultwarden commit introduces SSO using OpenID Connect

github.com

51–60 of 100 posts

Re: Vaultwarden commit introduces SSO using OpenID Connect

#51
post #25

For single user or family supported instances this will not make huge difference because this will still require entering master password (which is good). It would be good for cases when it would make it easier in team or company settings when the manual work to add and setup accounts with access to password collections is annoying.

Depending on how many services you host, this is a huge deal for family and/or friends setups. I run around a dozen things that various family members and friends use, so being able to have one accout that they can log into anything with (including password change and reset) without me having to manually manage accounts makes the whole endeavour much more viable.

Re: Vaultwarden commit introduces SSO using OpenID Connect

#52
post #18

I love this product have used it for a long time now but more recently started getting worried about security. I hope the maintainers are doing their due diligence around securing their docker hub account (many of us run VW in docker) and are careful about libraries the project depends on. Some questionable coding practices were made that I'm not sure I agree with (calling a 3rd party sites in some scenarios). As mor…

If you're running on kubernetes, a simple network policy and blocking the container from using DNS will stop any compromised image from performing a data exfill. I do this for most containers. If the container must have web access in some form, setup a squid proxy and only whitelist safe and trusted domains that can't be exfilled to.

The web frontend could still send secrets to third parties.

Re: Vaultwarden commit introduces SSO using OpenID Connect

#53
post #7

So what is the point of this, if the user still needs a master password?

Creating, deleting, blocking accounts is the main one - you only do it once for a user and they get access to all your services. It also lets you do MFA and security checks on login (like on a new device) which can prevent break-ins even if your users use easily crackable passwords.

Re: Vaultwarden commit introduces SSO using OpenID Connect

#54

Most of the comments seem to confirm (all but one at time of writing) that this feature is more intended for corporate/business environments. Does anyone know if Vaultwarden has commercial users? By no means am I arguing against the inclusion of this feature, I'm just curious. Everywhere I've worked that was big enough to use SSO was also wary of selfhosting FOSS tools. I should clarify I don't consider myself workin…

SSO isn’t an enterprise feature, it is an access control and governance feature regardless of user population.

Re: Vaultwarden commit introduces SSO using OpenID Connect

#55
post #2

I selfhost vaultwarden for my use only. Can someone please explain it like I am 5 what's the use case of this new feature? Is it to log in to vaultwarden using an OpenID?

My team self hosts multiple internal services, including vaultwarden.

For most of these we use our standard corporate OIDC provider to provide autentication and accounting, either onto a proxy or direct on the service, that passes the user through, the hosted service is either fine (just logs the user in its local access logs for the accounting part) because it's allowed for all our corporate users, or the service uses its own authorisation logic to allow or reject the users.

Some devices are just generic user/password on the device itself -- the authorisation there is that the group responsible for that device has to keep the credential secure. Any authenticated Corp user can access the login page, and that gets logged, but the authorisation is a simple user/password.

If the credential isn't secure (because people are terrible with security) then at least the attacker is logged, and has had to authorise access.

Some authentication is better. Our guacamole hosts for example are authenticated on proxy with OIDC, then passed through to the guacamole server which does its own authorisation based on its internal database (which itself is managed via a github approach - to add joe.bloggs@corp.com to the "Washington Servers" group you add his identity to the right part of the "groups.conf" file and when the PR is merged it applies across the estate within a minute or two). Then they can access all connections in "Washington", but "davey.jones@corp.com" isn't in that group, so can't.

Likewise our IPAM will create a user in the "readonly" group automatically (our policy is ip records are available to everyone in the company), but they then need moving into an elevated rights using IPAM tooling to allocate IP addresses.

Vaultwarden though we maintain separate user and password, we still have the OIDC front end, but it's completely ignored for another layer of authorisation. I'm about to go on leave so I won't be thinking too much about if this will help, but its good to have the option.

Re: Vaultwarden commit introduces SSO using OpenID Connect

#56

Most of the comments seem to confirm (all but one at time of writing) that this feature is more intended for corporate/business environments. Does anyone know if Vaultwarden has commercial users? By no means am I arguing against the inclusion of this feature, I'm just curious. Everywhere I've worked that was big enough to use SSO was also wary of selfhosting FOSS tools. I should clarify I don't consider myself workin…

SSO isn’t an enterprise feature, it is an access control and governance feature regardless of user population.

Who needs it except entreprises for the 99.99% usecase?

Re: Vaultwarden commit introduces SSO using OpenID Connect

#57
post #42

Most of the comments seem to confirm (all but one at time of writing) that this feature is more intended for corporate/business environments. Does anyone know if Vaultwarden has commercial users? By no means am I arguing against the inclusion of this feature, I'm just curious. Everywhere I've worked that was big enough to use SSO was also wary of selfhosting FOSS tools. I should clarify I don't consider myself workin…

SSO is really important in the "few tools, many users" case, but just as important in the "many tools, few users" case. I'm self hosting dozens of tools, and without SSO I'd have to set up username, password, TOTP and WebAuthn for each and every one of them, my 2FA app would be 90% my own services. With SSO though, it's much simpler. I can just run an OIDC server and log into all my self-hosted services once, and I c…

What's your (OSS?) OIDC server of choice?

Authelia? Authentik? Keycloak? (These are the three I see a lot about.) Something else?

Re: Vaultwarden commit introduces SSO using OpenID Connect

#58
post #56

Earlier quoted context omitted.

SSO isn’t an enterprise feature, it is an access control and governance feature regardless of user population.

Who needs it except entreprises for the 99.99% usecase?

E.g. the homelab admin who doesn't want their family to have to create and manage accounts on 12 different self-hosted services.

Re: Vaultwarden commit introduces SSO using OpenID Connect

#59
post #56

Earlier quoted context omitted.

SSO isn’t an enterprise feature, it is an access control and governance feature regardless of user population.

Who needs it except entreprises for the 99.99% usecase?

Self-hosters so you don't need to record 100 different passwords for your own services?

Re: Vaultwarden commit introduces SSO using OpenID Connect

#60

Earlier quoted context omitted.

I've been self-hosting Bitwarden (and giving them money) for a few years now, it is really easy with Docker and a reverse proxy. What kind of challenges did you encounter with Bitwarden?

Last time i checked you needed a MS SQL db...

> Last time i checked you needed a MS SQL db...

For real? That would mean a requirement for a software license that costs about $1,000 for the cheapest option.

Post reply on HN