[GH-ISSUE #475] Keycloak 17.0.2: Direct device authentication not working #870

Open
opened 2026-08-05 00:40:13 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @ykorzikowski on GitHub (Sep 21, 2022).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/475

Hello there,

I set up erverything like described in the selfhosting guide with keycloak. I can login to the admin console with keycloak and can see Peers etc.

However, when I try to do a netbird up, it wont connect to the management service.

$ netbird up  --management-url https://netbird-api.company.com/
WARN[2022-09-22T00:52:36+02:00] retrying Login to the Management service in 1.104660288s due to error rpc error: code = Unknown desc = context deadline exceeded
  • Dashboard is runing under netbird.company.com
  • API is running under netbird-api.company.com

I can curl the api from my machin:

$ curl https://netbird-api.compay.com/api/groups
The token isn't valid
Originally created by @ykorzikowski on GitHub (Sep 21, 2022). Original GitHub issue: https://github.com/netbirdio/netbird/issues/475 Hello there, I set up erverything like described in the selfhosting guide with keycloak. I can login to the admin console with keycloak and can see Peers etc. However, when I try to do a `netbird up`, it wont connect to the management service. ``` $ netbird up --management-url https://netbird-api.company.com/ WARN[2022-09-22T00:52:36+02:00] retrying Login to the Management service in 1.104660288s due to error rpc error: code = Unknown desc = context deadline exceeded ``` - Dashboard is runing under netbird.company.com - API is running under netbird-api.company.com I can curl the api from my machin: ``` $ curl https://netbird-api.compay.com/api/groups The token isn't valid ```
saavagebueno added the bugwaiting-feedbackidp labels 2026-08-05 00:40:13 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#870