FeatureFuel
4

option to force periodic reauth and 2FA

Source: dani-garcia/vaultwarden#6417 · opened by @Momi-V
Current behavior: After initial login (with/without 2FA) it's possible to "lock" the vault, retaining offline functionality and the ability to perform a "lightweight" login without 2FA. This is sensible and convenient, but makes it impossible to enfore periodic reauthentication (e.g. once every 30 days). The only alternative is to force a full logout, but that compromises offline functionality and means a full login is required every boot/browser restart. Desired behavior: A "middle ground" where lock behavior still works as it does now, but a "lightweight" login *doesn't update* the device refresh_token. That way, even if the device is logged in daily the token still expires and forces a full reauth (with 2FA if configured) periodically. Request: Implement an ENV variable (or similar config option) like VW_DISABLE_REFRESH_TOKEN_RENEWAL. If set to true it only issues a new refresh token on full login, but returns the original …

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests