Users creation in single account mode #705

Open
opened 2025-11-20 05:16:15 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @sisumara on GitHub (Mar 15, 2024).

Describe the problem

I've deployed a self hosted solution with enabled single user mode and Zitadel as IDP. When I create a new user in Zitadel and logging in to Netbird then it creates a new user with owner role every time when I try to login with new user. I've tried to play with --disable-single-account-mode but I've got the same results. How to configure it properly to create users under an owner account?

To Reproduce

Steps to reproduce the behavior:

Deploy self-hosted solution with Zitadel IDP without using quick deployment script.

Expected behavior

I expected to create another users under the same account (owner) to use common network resources.

Are you using NetBird Cloud?

Self-hosted solution.

NetBird version

netbird 0.26.3

Thank you

Originally created by @sisumara on GitHub (Mar 15, 2024). **Describe the problem** I've deployed a self hosted solution with enabled single user mode and Zitadel as IDP. When I create a new user in Zitadel and logging in to Netbird then it creates a new user with owner role every time when I try to login with new user. I've tried to play with -**-disable-single-account-mode** but I've got the same results. How to configure it properly to create users under an owner account? **To Reproduce** Steps to reproduce the behavior: Deploy self-hosted solution with Zitadel IDP without using quick deployment script. **Expected behavior** I expected to create another users under the same account (owner) to use common network resources. **Are you using NetBird Cloud?** Self-hosted solution. **NetBird version** `netbird 0.26.3` Thank you
saavagebueno added the documentationmanagement-servicequestionself-hosting labels 2025-11-20 05:16:15 -05:00
Author
Owner

@mlsmaycon commented on GitHub (Mar 17, 2024):

Hello @sisumara, it seems like that at some point the single account mode was disabled and you end up with more than one account.

The best way to fix this now is to clean the installation, but if you have some peers running, that might not be optimal, so in that case, the best is to login with each user and delete their account in the Settings menu > Danger zone, once that is done, restart the management service and check the logs to confirm that single mode is enabled.

@mlsmaycon commented on GitHub (Mar 17, 2024): Hello @sisumara, it seems like that at some point the single account mode was disabled and you end up with more than one account. The best way to fix this now is to clean the installation, but if you have some peers running, that might not be optimal, so in that case, the best is to login with each user and delete their account in the Settings menu > Danger zone, once that is done, restart the management service and check the logs to confirm that single mode is enabled.
Author
Owner

@sisumara commented on GitHub (Mar 17, 2024):

Hello @sisumara, it seems like that at some point the single account mode was disabled and you end up with more than one account.

The best way to fix this now is to clean the installation, but if you have some peers running, that might not be optimal, so in that case, the best is to login with each user and delete their account in the Settings menu > Danger zone, once that is done, restart the management service and check the logs to confirm that single mode is enabled.

It works. Thank you for help!

@sisumara commented on GitHub (Mar 17, 2024): > Hello @sisumara, it seems like that at some point the single account mode was disabled and you end up with more than one account. > > The best way to fix this now is to clean the installation, but if you have some peers running, that might not be optimal, so in that case, the best is to login with each user and delete their account in the Settings menu > Danger zone, once that is done, restart the management service and check the logs to confirm that single mode is enabled. It works. Thank you for help!
Author
Owner

@sircthulhu commented on GitHub (Jun 6, 2024):

Thank you, it helped me too :)

It would be great to have these steps in docs troubleshooting section

@sircthulhu commented on GitHub (Jun 6, 2024): Thank you, it helped me too :) It would be great to have these steps in docs troubleshooting section
Author
Owner

@nazarewk commented on GitHub (Apr 23, 2025):

noting down to add a revised version to the documentation:

The best way to fix this now is to clean the installation, but if you have some peers running, that might not be optimal, so in that case, the best is to login with each user and delete their account in the Settings menu > Danger zone, once that is done, restart the management service and check the logs to confirm that single mode is enabled.

@nazarewk commented on GitHub (Apr 23, 2025): noting down to add a revised version to the documentation: > The best way to fix this now is to clean the installation, but if you have some peers running, that might not be optimal, so in that case, the best is to login with each user and delete their account in the Settings menu > Danger zone, once that is done, restart the management service and check the logs to confirm that single mode is enabled.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#705