Keycloak integration - Logout Warning / Error #1710

Open
opened 2025-11-20 06:05:10 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @MichalisDBA on GitHub (Mar 14, 2025).

Describe the problem

I have setup self-hosted netbird with keycloak. I followed your guides from your documentation. Everything seems to working normal.

One thing i noticed is that when i authenticate via keycloak and i open the netbird's dashboard, when i press logout, although it logs me out and redirects me to the keycloak's auth page, in the keycloak's server logs it generates a warning every time someone logs out.

WARN  [org.keycloak.events] (executor-thread-11) type="LOGOUT_ERROR", realmId="284f8f08-0775-47eb-87f3-19ce8e85acf5", realmName="NB-admins", clientId="netbird-client", userId="null", ipAddress="X.X.X.X", error="session_expired"

Is there anything missing from your docs about keycloak or just ignore the warning?

To Reproduce

Setup netbird with keycloak.
Login to netbird's dashboard via keycloak auth.
Logout from netbird's dashboard and check keycloak's logs for this warning.

Expected behavior

Logout without warning and errors.

Are you using NetBird Cloud?

Self-hosted NetBird's control plane.

NetBird version

Latest

Is any other VPN software installed?

No

Originally created by @MichalisDBA on GitHub (Mar 14, 2025). **Describe the problem** I have setup self-hosted netbird with keycloak. I followed your guides from your documentation. Everything seems to working normal. One thing i noticed is that when i authenticate via keycloak and i open the netbird's dashboard, when i press logout, although it logs me out and redirects me to the keycloak's auth page, in the keycloak's server logs it generates a warning every time someone logs out. ``` WARN [org.keycloak.events] (executor-thread-11) type="LOGOUT_ERROR", realmId="284f8f08-0775-47eb-87f3-19ce8e85acf5", realmName="NB-admins", clientId="netbird-client", userId="null", ipAddress="X.X.X.X", error="session_expired" ``` Is there anything missing from your docs about keycloak or just ignore the warning? **To Reproduce** Setup netbird with keycloak. Login to netbird's dashboard via keycloak auth. Logout from netbird's dashboard and check keycloak's logs for this warning. **Expected behavior** Logout without warning and errors. **Are you using NetBird Cloud?** Self-hosted NetBird's control plane. **NetBird version** Latest **Is any other VPN software installed?** No
saavagebueno added the idpconfig-idptriage-neededself-hosting labels 2025-11-20 06:05:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1710