[GH-ISSUE #2311] Query OIDC Client ID dynamically from netbird management server #4857

Closed
opened 2026-08-05 01:00:03 -04:00 by saavagebueno · 3 comments
Owner

Originally created by @TheRealGramdalf on GitHub (Jul 23, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/2311

Originally assigned to: @mlsmaycon on GitHub.

Is your feature request related to a problem? Please describe.

The mobile app currently uses a hard coded client ID (netbird). This means that there is a limit of one netbird server per IDP, as there can only be one client ID called netbird per instance.

Describe the solution you'd like
Rather than hardcoding the client ID into the app, it should be dynamically queried from the netbird management server you connect to. This allows freedom in that of the client ID without requiring a custom build of the client application.

Describe alternatives you've considered
Leave the client ID hardcoded, as situations with multiple netbird management servers might be rare.

Additional context
My IDP of choice is Kanidm, though I believe this applies to the majority of IDPs out there.

Originally created by @TheRealGramdalf on GitHub (Jul 23, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/2311 Originally assigned to: @mlsmaycon on GitHub. **Is your feature request related to a problem? Please describe.** The mobile app currently uses a hard coded client ID (`netbird`). This means that there is a limit of one netbird server per IDP, as there can only be one client ID called `netbird` per instance. **Describe the solution you'd like** Rather than hardcoding the client ID into the app, it should be dynamically queried from the netbird management server you connect to. This allows freedom in that of the client ID without requiring a custom build of the client application. **Describe alternatives you've considered** Leave the client ID hardcoded, as situations with multiple netbird management servers might be rare. **Additional context** My IDP of choice is Kanidm, though I believe this applies to the majority of IDPs out there.
saavagebueno added the feature-request label 2026-08-05 01:00:03 -04:00
Author
Owner

@mlsmaycon commented on GitHub (Jul 26, 2024):

Hello, @TheRealGramdalf. Can you share more about your use/business case for it? Having a single IdP is the case for most organizations.

<!-- gh-comment-id:2253276733 --> @mlsmaycon commented on GitHub (Jul 26, 2024): Hello, @TheRealGramdalf. Can you share more about your use/business case for it? Having a single IdP is the case for most organizations.
Author
Owner

@TheRealGramdalf commented on GitHub (Jul 27, 2024):

In my particular case it was more about using a client ID of my choice, rather than being forced to use netbird. I haven't (yet) had the need to actually add multiple netbird servers, but it's also a limitation which might come back to bite you later.

<!-- gh-comment-id:2254280988 --> @TheRealGramdalf commented on GitHub (Jul 27, 2024): In my particular case it was more about using a client ID of my choice, rather than being forced to use `netbird`. I haven't (yet) had the need to actually add multiple netbird servers, but it's also a limitation which might come back to bite you later.
Author
Owner

@PizzaLovingNerd commented on GitHub (May 26, 2026):

Should be resolved by client auth refactor in ded04b76 and the management flow API in cc97cfff.

If not please open a new GitHub Discussion (not issue).

Cheers!

<!-- gh-comment-id:4549197440 --> @PizzaLovingNerd commented on GitHub (May 26, 2026): Should be resolved by client auth refactor in [ded04b76](https://github.com/netbirdio/netbird/commit/ded04b7627bd8d48d7e672a7b3b06b55a67b3058) and the management flow API in [cc97cfff](https://github.com/netbirdio/netbird/commit/cc97cffff1491d84d9cad39bae53a64998b6857b). If not please open a new [GitHub Discussion](https://github.com/netbirdio/netbird/discussions) (not issue). Cheers!
Sign in to join this conversation.
No Label feature-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#4857