[GH-ISSUE #1715] Netbird - No Identity Providers work ! Keycloak - Login Error: User state: Unauthenticated #2945

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

Originally created by @luckylinux on GitHub (Mar 15, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1715

Describe the problem
After trying to get Netbird Self Hosted with Authentik and getting weird errors (https://github.com/netbirdio/netbird/issues/1684) and no help so far, I decided to give a try to:

  • Netbird + Zitadel -> This apparently causes some issues (Zitadel related i/o timeout for connection between PostgreSQL and Zitadel-Server, probably cause is 100% CPU usage on my VPS Server and extremely high memory/RAM usage in Zitadel)
  • Netbird + Keycloak -> This results in a "Login Error: User state: Unauthenticated".

Nothing can be extracted from the logs of keycloak nor netbird-management Docker Container.

Looking at https://github.com/netbirdio/netbird/issues/1590, I am also running into the "CORS Missing Allow Origin".

To Reproduce

  1. Setup Keycloak and Netbird according to the current version of https://docs.netbird.io/selfhosted/identity-providers#keycloak, both running behind Traefik Reverse Proxy with Letsencrypt provided TLS Certificates.
  2. Visit https://netbird.MYDOMAIN.TLD
  3. Get Login Error: User state: Unauthenticated

Expected behavior

Netbird working correctly.

Are you using NetBird Cloud?

Netbird self-hosted.

NetBird version

netbird version

NetBird status -d output:

Not sure how to do this:

  • netbird-management container: netbird: command not found
  • netbird-dashboard container: netbird: command not found
  • netbird-signal container: Error: crun: executable file /bin/sh not found in $PATH: No such file or directory: OCI runtime attempted to invoke a command that was not found
  • netbird-coturn container: netbird: command not found

Screenshots

Additional context

Environment same as in https://github.com/netbirdio/netbird/issues/1684 (Podman 4.9.3).

Originally created by @luckylinux on GitHub (Mar 15, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1715 **Describe the problem** After trying to get Netbird Self Hosted with Authentik and getting weird errors (https://github.com/netbirdio/netbird/issues/1684) and no help so far, I decided to give a try to: - Netbird + Zitadel -> This apparently causes some issues (Zitadel related i/o timeout for connection between PostgreSQL and Zitadel-Server, probably cause is 100% CPU usage on my VPS Server and extremely high memory/RAM usage in Zitadel) - Netbird + Keycloak -> This results in a "Login Error: User state: Unauthenticated". Nothing can be extracted from the logs of `keycloak` nor `netbird-management` Docker Container. Looking at https://github.com/netbirdio/netbird/issues/1590, I am also running into the "CORS Missing Allow Origin". **To Reproduce** 1. Setup Keycloak and Netbird according to the current version of https://docs.netbird.io/selfhosted/identity-providers#keycloak, both running behind Traefik Reverse Proxy with Letsencrypt provided TLS Certificates. 2. Visit https://netbird.MYDOMAIN.TLD 3. Get `Login Error: User state: Unauthenticated` **Expected behavior** Netbird working correctly. **Are you using NetBird Cloud?** Netbird self-hosted. **NetBird version** `netbird version` **NetBird status -d output:** Not sure how to do this: - `netbird-management` container: `netbird: command not found` - `netbird-dashboard` container: `netbird: command not found` - `netbird-signal` container: `Error: crun: executable file `/bin/sh` not found in $PATH: No such file or directory: OCI runtime attempted to invoke a command that was not found` - `netbird-coturn` container: `netbird: command not found` **Screenshots** **Additional context** Environment same as in https://github.com/netbirdio/netbird/issues/1684 (Podman 4.9.3).
saavagebueno added the waiting-feedbackidpkeycloakself-hostinggetting-started labels 2026-08-05 00:49:47 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#2945