[GH-ISSUE #2483] Login Convertion #5054

Closed
opened 2026-08-05 01:01:03 -04:00 by saavagebueno · 2 comments
Owner

Originally created by @mstaafdewit on GitHub (Aug 25, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/2483

So we use Netbird to provision new computers from our office for customers so we setup keys to bypass SSO\MFA.
But we need the the user use SSO and MFA for daily use.

For Netbird to be reset back to SSO after we are done setting up the device, we have to uninstall it and remove the files in c:\programdata\netbird and then we reinstall.

Can we get a command to reset the login method, something like.

.\netbird.exe down --remove-setup-key

and it would be nice to have an value on the status command like.

OS: windows/amd64
Daemon version: 0.28.4
CLI version: 0.28.4
Auth: [ Key | Login ]      <----
Management: Disconnected
Signal: Disconnected
Relays: 0/0 Available
Nameservers: 7/8 Available
FQDN:
NetBird IP: N/A
Interface type: N/A
Quantum resistance: false
Routes: -
Peers count: 0/5 Connected
Originally created by @mstaafdewit on GitHub (Aug 25, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/2483 So we use Netbird to provision new computers from our office for customers so we setup keys to bypass SSO\MFA. But we need the the user use SSO and MFA for daily use. For Netbird to be reset back to SSO after we are done setting up the device, we have to uninstall it and remove the files in c:\programdata\netbird and then we reinstall. Can we get a command to reset the login method, something like. ``` .\netbird.exe down --remove-setup-key ``` and it would be nice to have an value on the status command like. ``` OS: windows/amd64 Daemon version: 0.28.4 CLI version: 0.28.4 Auth: [ Key | Login ] <---- Management: Disconnected Signal: Disconnected Relays: 0/0 Available Nameservers: 7/8 Available FQDN: NetBird IP: N/A Interface type: N/A Quantum resistance: false Routes: - Peers count: 0/5 Connected ```
saavagebueno added the feature-request label 2026-08-05 01:01:03 -04:00
Author
Owner

@pascal-fischer commented on GitHub (Aug 27, 2024):

Hi @mstaafdewit, we had a discussion a while ago about some profile switching capabilities for the clients which would allow you to have multiple profiles on the same machine, you could have one for the user SSO and one for the setup key. The users then could switch beween both. The only thing would be on your management you would see it as 2 devices at the moment but I guess thats similar to what you have right now when deleting the local config (FYI removing the file and resarting the service is already enough, no need to reinstall the client).

Would this help you?

For the future we might be even able to detect multiple profiles for the same machine on dashboard so we could group them but thats to be seen once the initial feature is being developed.

<!-- gh-comment-id:2312062776 --> @pascal-fischer commented on GitHub (Aug 27, 2024): Hi @mstaafdewit, we had a discussion a while ago about some [profile switching capabilities](https://github.com/netbirdio/netbird/pull/2401) for the clients which would allow you to have multiple profiles on the same machine, you could have one for the user SSO and one for the setup key. The users then could switch beween both. The only thing would be on your management you would see it as 2 devices at the moment but I guess thats similar to what you have right now when deleting the local config (FYI removing the file and resarting the service is already enough, no need to reinstall the client). Would this help you? For the future we might be even able to detect multiple profiles for the same machine on dashboard so we could group them but thats to be seen once the initial feature is being developed.
Author
Owner

@PizzaLovingNerd commented on GitHub (May 26, 2026):

Hello, this is an old issue, modern versions of NetBird have the deregister and logout commands which I believe should achieve the same functionality here. If not, please open a new GitHub Discussion (not issue). Cheers!

<!-- gh-comment-id:4549415159 --> @PizzaLovingNerd commented on GitHub (May 26, 2026): Hello, this is an old issue, modern versions of NetBird have the `deregister` and `logout` commands which I believe should achieve the same functionality here. If not, please open a new [GitHub Discussion](https://github.com/netbirdio/netbird/discussions) (not issue). Cheers!
Sign in to join this conversation.
No Label feature-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#5054