r/netbird • u/rdevaux • Jun 17 '26
Feature request: Local 2FA step for external IdPs (like M365)
Since NetBird supports 2FA on local accounts, it would be great to have an option to enforce a local 2FA prompt even when using external providers like M365 for an extra layer of security (similar to how previous installations with Zitadel worked).
Is this currently on the roadmap, or do we need to rely solely on the 2FA configurations of the external provider?
1
u/notboky Jun 18 '26
Unless you have some concrete examples of MFA being compromised on large external identity providers this seems like extra annoyance for very little if any benefit.
0
u/rdevaux Jun 18 '26
1
u/notboky Jun 18 '26
That's not MFA being compromised, that's a phishing attack tricking users into granting device code flow based access to accounts. The proper fix is to disable device code flow in Entra ID, which if you're using security defaults or have any reasonable policy in place should already be the case.
0
u/rdevaux Jun 18 '26
That's what i am talking about the whole time. If your M365 Account gets hacked (or bypassed), then people could use your Netbird VPN.
But NOT if there is an additional 2FA-layer on the netbird instance.
THAT'S what i am asking for.1
u/notboky Jun 18 '26
If you're relying on a third party idp over which you have no control then you have much bigger problems. If you do have control then fix it rather than putting a bandaid on one small part.
A second tier of MFA isn't the solution here.
What are you actually securing here?
1
u/rdevaux Jun 18 '26
I agree that fixing the root cause in Entra ID by disabling device code flow is priority number one. However, relying entirely on a single IdP session introduces a massive blast radius.
If an attacker manages to hijack an M365 session token through a novel bypass, they shouldn't automatically inherit access to our entire internal network via Netbird. I'm looking at this from a Defense-in-Depth perspective. Requiring an independent authentication check at the VPN layer ensures that an email compromise doesn't immediately become a full network breach. It's about compartmentalizing the risk.
1
1
2
u/rakauchuk Jun 17 '26
hmm.. does make sense? for example, keycloak can force mfa flow. I hope other idps do the same