Describe the problem
Hello,
I have a question regarding the configuration of an external IdP on the first run. I want to disable the local user management since I will only be using Zitadel as an SSO solution for all my services, but on a fresh install, when disabling that through the config.yaml and starting the netbird-server I get this error : FATL management/internals/server/modules.go:124: failed to create embedded IDP service: cannot disable local authentication: no other identity providers configured
This error makes perfect sense, but is it possible to add/configure an external IdP (in my case Zitadel) via the configuration files so that it works on a first run ? I looked all over the documentation but couldn’t find any other way to add one than using the GUI or the API, which I obviously can’t use since the container won’t start in the first place.
I think it would be ideal, and would make a lot of sense to add that possibility if it is not already there, so that you can just run the thing once instead of having to :
- start netbird with local user management on
- somehow retrieve the creds to call the API
- add the identity provider using terraform or raw API
- disable local user management
- restart netbird
(I’m thinking full IAC and no GUI or manual interaction)
Netbird server version : 0.66.4
Netbird dashboard version : v2.34.2