Netbird 2FA Re-Prompt on Refresh #494

Closed
opened 2025-11-20 05:12:32 -05:00 by saavagebueno · 5 comments
Owner

Originally created by @hbzhost on GitHub (Oct 31, 2023).

Describe the problem
I'm being prompted each time I refresh my page to add my 2FA code when using Netbird.io internal IDP.

To Reproduce
Steps to reproduce the behavior:

  1. Enable Netbird.io on account.
  2. Configure your 2fa.
  3. Log into your account using 2fa.
  4. Go to any Netbird page and refresh your browser.
  5. Browser will prompt you to re-auth with 2fa.

Expected behavior
I would expect that 2fa would only prompt when im logged out of my session.

NetBird status -d output:
NA
Screenshots
NA
Additional context
Add any other context about the problem here.

Originally created by @hbzhost on GitHub (Oct 31, 2023). **Describe the problem** I'm being prompted each time I refresh my page to add my 2FA code when using Netbird.io internal IDP. **To Reproduce** Steps to reproduce the behavior: 1. Enable Netbird.io on account. 2. Configure your 2fa. 3. Log into your account using 2fa. 4. Go to any Netbird page and refresh your browser. 5. Browser will prompt you to re-auth with 2fa. **Expected behavior** I would expect that 2fa would only prompt when im logged out of my session. **NetBird status -d output:** NA **Screenshots** NA **Additional context** Add any other context about the problem here.
Author
Owner

@mlsmaycon commented on GitHub (Oct 31, 2023):

Hello @hbzhost this is happening when you mark the Remember this browser check box? See example below:

image

@mlsmaycon commented on GitHub (Oct 31, 2023): Hello @hbzhost this is happening when you mark the `Remember this browser` check box? See example below: ![image](https://github.com/netbirdio/netbird/assets/7747744/7d75f82b-f5cd-4175-a1ed-eb2462e85398)
Author
Owner

@hbzhost commented on GitHub (Oct 31, 2023):

Seems like selecting "remember this browser" fixes the issue. I would think this feature would only be used when signing in and it wouldn't prompt me again until my session is over and I re-login again.

Thanks,

@hbzhost commented on GitHub (Oct 31, 2023): Seems like selecting "remember this browser" fixes the issue. I would think this feature would only be used when signing in and it wouldn't prompt me again until my session is over and I re-login again. Thanks,
Author
Owner

@mlsmaycon commented on GitHub (Oct 31, 2023):

It should be like that.

We will look into the behavior when renewing the authentication in the background and provide you a feedback.

@mlsmaycon commented on GitHub (Oct 31, 2023): It should be like that. We will look into the behavior when renewing the authentication in the background and provide you a feedback.
Author
Owner

@hbzhost commented on GitHub (Oct 31, 2023):

Thank you!

@hbzhost commented on GitHub (Oct 31, 2023): Thank you!
Author
Owner

@mlsmaycon commented on GitHub (Nov 1, 2023):

Hello @hbzhost, this is fixed now. Let us know if you find other issues.

@mlsmaycon commented on GitHub (Nov 1, 2023): Hello @hbzhost, this is fixed now. Let us know if you find other issues.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#494