[GH-ISSUE #2739] Enforcing Login Prompt or 2FA at Every Connection #6041

Open
opened 2026-08-05 01:06:26 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @tjcologne on GitHub (Oct 15, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/2739

Description:

We're currently running a self-hosted Netbird instance with Zitadel as the identity provider, following the advanced installation guide.

For security reasons, we'd like to require users to authenticate (via password or 2FA) each time they connect to the network. This means that upon starting their PC or laptop (even from standby), users should be prompted to verify their identity.

Currently, the login process occurs only once, and the generated token doesn't expire. We've explored various settings to reduce the token's lifespan, but haven't found a way to explicitly force a login prompt at every connection.

We've attempted to adjust the "OIDC Token Lifetime and Expiration" values, but this hasn't yielded the desired result.

Question:

Could you please guide us on how to achieve this goal? Do we need to consider a different identity provider, or is there a configuration within Netbird or Zitadel that can enforce the desired behavior?

Thank you for your assistance.

Are you using NetBird Cloud?

self-host NetBird's control plane with Zitadel

NetBird version

netbird version 0.30.0

Originally created by @tjcologne on GitHub (Oct 15, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/2739 **Description:** We're currently running a self-hosted Netbird instance with Zitadel as the identity provider, following the advanced installation guide. For security reasons, we'd like to require users to authenticate (via password or 2FA) each time they connect to the network. This means that upon starting their PC or laptop (even from standby), users should be prompted to verify their identity. Currently, the login process occurs only once, and the generated token doesn't expire. We've explored various settings to reduce the token's lifespan, but haven't found a way to explicitly force a login prompt at every connection. We've attempted to adjust the "OIDC Token Lifetime and Expiration" values, but this hasn't yielded the desired result. **Question:** Could you please guide us on how to achieve this goal? Do we need to consider a different identity provider, or is there a configuration within Netbird or Zitadel that can enforce the desired behavior? Thank you for your assistance. **Are you using NetBird Cloud?** self-host NetBird's control plane with Zitadel **NetBird version** `netbird version` 0.30.0
saavagebueno added the waiting-feedbacktriage-needed labels 2026-08-05 01:06:26 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#6041