[GH-ISSUE #4193] Management container queries jwks_uri on every request from dashboard #8882

Open
opened 2026-08-05 01:19:54 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @AbsurdlySuspicious on GitHub (Jul 21, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/4193

Describe the problem

jwks_uri endpoint is spammed with requests on every backend request from dashboard

To Reproduce

Steps to reproduce the behavior:

  1. Setup netbird self-hosted
  2. Observe idP server logs

Expected behavior

jwks_uri is fetched at cached at least for some time, and fetched again only when key with required kid is not found in cached version

Are you using NetBird Cloud?

Self-hosted

NetBird version

0.51.1

Is any other VPN software installed?

No

Debug output

N/A

Screenshots

N/A

Additional context

NETBIRD_MGMT_IDP_SIGNKEY_REFRESH is set to "true"

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @AbsurdlySuspicious on GitHub (Jul 21, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/4193 **Describe the problem** jwks_uri endpoint is spammed with requests on every backend request from dashboard **To Reproduce** Steps to reproduce the behavior: 1. Setup netbird self-hosted 2. Observe idP server logs **Expected behavior** jwks_uri is fetched at cached at least for some time, and fetched again only when key with required `kid` is not found in cached version **Are you using NetBird Cloud?** Self-hosted **NetBird version** `0.51.1` **Is any other VPN software installed?** No **Debug output** N/A **Screenshots** N/A **Additional context** NETBIRD_MGMT_IDP_SIGNKEY_REFRESH is set to "true" **Have you tried these troubleshooting steps?** - [x] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client - [x] Disabled other VPN software - [x] Checked firewall settings
saavagebueno added the enhancementtriage-neededself-hosting labels 2026-08-05 01:19:54 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#8882