mikkel
mikkel7h ago

Zitadel with Netbird

Use-case: Trying to set up Netbird VPN with Zitadel as the identity provider. Both are self-hosted with Docker Compose. Environment: Self Hosted Version: v2.64.1 Stack: Netbird, Zitadel (self-hosted, Docker, PostgreSQL backend). Reverse Proxy with Caddy on a separate LXC (not within the same docker compose). What you expected to happen: User opens the netbird dashboard, redirects to zitadel for login, after login user is redirected back to dashboard and is authenticated. What went wrong: Redirect works "partially"?, netbird dashboard 'screen' is shown, but shows "Oops, something went wrong, Error: Unauthenticated". Management.json file in the same directory as zitadel and netbird is completely empty and I am assuming this has something to do with the problem. Management container logs shows: management-1 | Error: failed reading provided config file: /etc/netbird/management.json: failed parsing Json file after template was executed, err: unexpected end of JSON input It seems like the installer didn't generate a valid management.json for zitadel. I have no clue what is supposed to go in to this file, or how to configure it manually. Have tried reading documentation, but nothing is mentioned there about this file. What am I supposed to put in to it since it didn't properly auto configure? It's completely empty for me.
No description
1 Reply
Ask Inkeep
Ask Inkeep7h ago
Hi @mikkel, I'm an AI assistant for ZITADEL. While a team member reviews this question, I'll see if I can find relevant sources for your question. Answer I wasn't able to find a direct answer, here are some relevant sources: 1. Set up Zitadel with Docker Compose :
Covers how to deploy ZITADEL using Docker Compose, including environment variables and container setup, which may help ensure your ZITADEL instance is running as expected. 2. Configuration Options in ZITADEL :
Lists environment variables and configuration details for ZITADEL, which might assist with troubleshooting integration or authentication issues. Feel free to tag @Ask Inkeep with additional questions.

Did you find this page helpful?