[GH-ISSUE #1395] Netbird doesn't work with latest Zitadel (v2.42.2) Invalid JWT #2196

Open
opened 2026-08-05 00:45:49 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @smartyfeed on GitHub (Dec 17, 2023).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1395

Describe the problem
Management component can't communicate with latest Zitadel version. I followed the Advanced install guide and tried to setup Netbird with an already existing instance of Zitadel (latest version). After logging in I get Invalid JWT error and error messages in logs:
2023-12-17T22:31:18Z ERRO management/server/http/middleware/access_control.go:46: failed to get user from claims: failed to get account with token claims unable to post https://domain redacted:443/management/v1/users/_search, statusCode 401

To Reproduce
Steps to reproduce the behavior:

  1. Download getting-started-with-zitadel.sh script.
  2. Modify the version of Zitadel and CockroachDB in the script to latest.
  3. Execute the script
  4. Check management container logs and see error

Expected behavior
Normal startup of Netbird

Additional context
Zitadel reports successful secret check. If you leave Zitadel version as is, Netbird boots up fine

Originally created by @smartyfeed on GitHub (Dec 17, 2023). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1395 **Describe the problem** Management component can't communicate with latest Zitadel version. I followed the Advanced install guide and tried to setup Netbird with an already existing instance of Zitadel (latest version). After logging in I get **Invalid JWT** error and error messages in logs: 2023-12-17T22:31:18Z ERRO management/server/http/middleware/access_control.go:46: failed to get user from claims: failed to get account with token claims unable to post https://_domain redacted_:443/management/v1/users/_search, statusCode 401 **To Reproduce** Steps to reproduce the behavior: 1. Download getting-started-with-zitadel.sh script. 2. Modify the version of Zitadel and CockroachDB in the script to latest. 3. Execute the script 4. Check management container logs and see error **Expected behavior** Normal startup of Netbird **Additional context** Zitadel reports successful secret check. If you leave Zitadel version as is, Netbird boots up fine
saavagebueno added the bugwaiting-feedbackidpzitadel labels 2026-08-05 00:45:49 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#2196