Changing IDP in self hosted NB
Has anyone tried / had luck in changing the IDP in their self hosted instance? I’m planning on moving from Google workspace to M365 and that will bring in the change from Google SSO to Entra ID. What’s the best strategy here to preserve my current config?
Solution:Jump to solution
Probably obvious, but just changing the IDP does not work lol. But had to see for myself. I created an instance with Zitadel, setup a few things. Then reconfigured the compose file and config files to accept authentik as the IDP with the same NetBird DB. No dice lol. But had to see for myself.
I’ve now settled on starting over a new instance with Zitadel and will continually add IDPs as required...
23 Replies
oh god, that's a good one. Depends on how the SSO is configured. Since the IDP contains the unique ID used to authenticate.
My best estimate to what you can do... I have no idea.
Not only moving the users, but also all devices? Christ, that's gonna be hell.
Most people have something like Authentik or Keycloak in front of their instance and handle logging into netbird from there, while logging in with M365 or Google as a social option.
I’ve got this thought as well and I’m now regretting not just integrating with Zitadel from the get go.
Maybe I’ll just bite the bullet and start clean
how many agents did you have
I’ve got around 50 daily peers right now
heh
Dear god
Good luck
lol thank you! I spoke with my IT guys and they’ve suggested just going with Zitadel now.
Basically to redo NB with Zitadel + Google. Then add Microsoft SSO to Zitadel. I think this way we can maintain the users
I think or feel Zitadel is a bit limiting, but that could just be my opinion. Authentik has been my go-to
Since it allows you to customize each process
Hmm does authentic allow multiple IDPs?
Yes
Will have to read up about authentik.
What do you feel is missing in Zitadel?
What do you feel is missing in Zitadel?



Customization

I can make authentik run python code based on the stuff that I need from it, so lets say you auth with Discord, I can validate your servers and the roles you have within them and check what groups in AUthentik you need access to.

Okay! I will take a couple days and read up on authentik. Thank you for the tip!
I’ve actually got Zitadel running right now. But it’s not actively being utilized. So switch to something else isn’t too hard
Woah that’s pretty cool!
Are you using authentik for home labbing? Or in an enterprise environment?
Both
Currently about 30 or so users

With a total of 47 peers

Nice! Would it be okay if I reach out in the future if I need any help?
Solution
Probably obvious, but just changing the IDP does not work lol. But had to see for myself. I created an instance with Zitadel, setup a few things. Then reconfigured the compose file and config files to accept authentik as the IDP with the same NetBird DB. No dice lol. But had to see for myself.
I’ve now settled on starting over a new instance with Zitadel and will continually add IDPs as required