[GH-ISSUE #959] Error: Request failed with status code 401. Please refresh the page if the issue continues. invalid jwt #1545

Open
opened 2026-08-05 00:42:58 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @a7g4 on GitHub (Jun 16, 2023).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/959

Describe the problem

After upgrading from v0.14.4 to v0.21.3 I am unable to access the dashboard and get this error:
image

I suspect this is related to the new IdP changes but I am not sure what.

To Reproduce
Steps to reproduce the behavior:

  1. Pull latest https://github.com/netbirdio/netbird.git
  2. Copy infrastructure_files/setup.env.template to infrastructure_files/setup.env (overwrite existing file from old version)
  3. Fill in correct values noting these changes:
    1. Generate a client secret for the netbird-client in Keycloak and NETBIRD_AUTH_CLIENT_SECRET
    2. Create a new client netbird-backend and follow the steps here: https://docs.netbird.io/selfhosted/identity-providers#step-8-create-a-net-bird-backend-client
  4. Re-run ./configure.sh
  5. Run docker compose pull && docker compose down && docker compose up -d

Expected behavior

Things work as they used to

Additional context

I tried setting NETBIRD_MGMT_IDP="none" and the dashboard loads but no clients can connect with this error:

netbird up --management-url https://netbird.XXX:33073 --admin-url https://netbird.XXX:443
Error: login failed: rpc error: code = NotFound desc = no SSO provider returned from management. If you are using hosting Netbird see documentation at https://github.com/netbirdio/netbird/tree/main/management for details
Originally created by @a7g4 on GitHub (Jun 16, 2023). Original GitHub issue: https://github.com/netbirdio/netbird/issues/959 **Describe the problem** After upgrading from v0.14.4 to v0.21.3 I am unable to access the dashboard and get this error: <img width="1487" alt="image" src="https://github.com/netbirdio/netbird/assets/38473816/52759eae-c926-4b12-8172-a202c5a3af8a"> I suspect this is related to the new IdP changes but I am not sure what. **To Reproduce** Steps to reproduce the behavior: 1. Pull latest `https://github.com/netbirdio/netbird.git` 2. Copy `infrastructure_files/setup.env.template` to `infrastructure_files/setup.env` (overwrite existing file from old version) 3. Fill in correct values noting these changes: 1. Generate a client secret for the `netbird-client` in Keycloak and `NETBIRD_AUTH_CLIENT_SECRET` 2. Create a new client `netbird-backend` and follow the steps here: https://docs.netbird.io/selfhosted/identity-providers#step-8-create-a-net-bird-backend-client 4. Re-run `./configure.sh` 4. Run `docker compose pull && docker compose down && docker compose up -d` **Expected behavior** Things work as they used to **Additional context** I tried setting `NETBIRD_MGMT_IDP="none"` and the dashboard loads but no clients can connect with this error: ``` netbird up --management-url https://netbird.XXX:33073 --admin-url https://netbird.XXX:443 Error: login failed: rpc error: code = NotFound desc = no SSO provider returned from management. If you are using hosting Netbird see documentation at https://github.com/netbirdio/netbird/tree/main/management for details ```
saavagebueno added the bugwaiting-feedback labels 2026-08-05 00:42:58 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#1545