netbirdio / netbird

Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
11.3k stars 518 forks source link

No Add User button #2801

Open coreyh503 opened 4 weeks ago

coreyh503 commented 4 weeks ago

When signing in to my Netbird Peers web interface and I go to the Users tab, there is no Invite User button. The only user I have is the Zitadel Admin. There is another option to add users now when I initially go to my Peer site. I was able to set up a new user there and in order to activate the user a code must be sent to the e-mail address to activate that user. I keep pressing the button to send the code but I never get it. It is not going to spam since I can see every e-mail that comes in to our network via our spam firewall. The code is never sent. Now what?

heisbrot commented 4 weeks ago

Hey @coreyh503,

in self-hosted NetBird there is no Invite Users button as the IDP (In your case Zitadel) is managing the users. You can directly create users in Zitadel. See our Docs for more information on this.

In your Zitadel Dashboard you may need to setup SMTP to receive Emails. See official Zitadel guide https://zitadel.com/docs/guides/manage/console/default-settings#smtp

TheRealGramdalf commented 3 weeks ago

I'm also running into this while running Kanidm (an OIDC compliant IdP). Because of this, there doesn't seem to be any way to group multiple users together, such that User A can access allowed peers from User B, etc etc. Is this just not supported in Netbird self hosted at the moment?

Edit: I took a look at some other issues, and tried the method with wt_account_id here, which didn't seem to work (I used newly created users to be safe). Has this been removed in favour of email domain?

coreyh503 commented 3 weeks ago

Thanks so much, Eduard! That was very helpful!