[GH-ISSUE #5274] Use netbird as a IdP #10897

Open
opened 2026-08-05 01:27:37 -04:00 by saavagebueno · 3 comments
Owner

Originally created by @Aalivexy on GitHub (Feb 8, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5274

Is your feature request related to a problem? Please describe.
Local user management is a very useful feature for individuals or small teams, and I'm pleased to see that netbird has added this feature, especially since it can configure multiple identity providers simultaneously. For internal environments, our own systems certainly need an identity provider, and it would be ideal to reuse netbird's dex, given its already robust implementation.

Describe the solution you'd like
I hope Netbird can provide a way to access its built-in identity provider, giving apps within the Netbird network a unified identity.

Describe alternatives you've considered
Operate an independent identity provider and use it as the sole source of identity for Netbird. I don't think this approach offers any advantage in terms of performance or resource usage.

Additional context

Originally created by @Aalivexy on GitHub (Feb 8, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5274 **Is your feature request related to a problem? Please describe.** Local user management is a very useful feature for individuals or small teams, and I'm pleased to see that netbird has added this feature, especially since it can configure multiple identity providers simultaneously. For internal environments, our own systems certainly need an identity provider, and it would be ideal to reuse netbird's dex, given its already robust implementation. **Describe the solution you'd like** I hope Netbird can provide a way to access its built-in identity provider, giving apps within the Netbird network a unified identity. **Describe alternatives you've considered** Operate an independent identity provider and use it as the sole source of identity for Netbird. I don't think this approach offers any advantage in terms of performance or resource usage. **Additional context**
saavagebueno added the feature-request label 2026-08-05 01:27:37 -04:00
Author
Owner

@elyashivhazan commented on GitHub (Feb 12, 2026):

I'm not a dev or in any way related to netbird but I think having this as feature will just be more complex and not related to what netbird is used for, a simple solution is to use Authentik or something else for small teams that way the devs won't need to allocate more resources on that feature

Just a thought

<!-- gh-comment-id:3890131128 --> @elyashivhazan commented on GitHub (Feb 12, 2026): I'm not a dev or in any way related to netbird but I think having this as feature will just be more complex and not related to what netbird is used for, a simple solution is to use Authentik or something else for small teams that way the devs won't need to allocate more resources on that feature Just a thought
Author
Owner

@Aalivexy commented on GitHub (Feb 12, 2026):

I'm not a dev or in any way related to netbird but I think having this as feature will just be more complex and not related to what netbird is used for, a simple solution is to use Authentik or something else for small teams that way the devs won't need to allocate more resources on that feature

Just a thought

I understand what you mean. The reason I said that is because NetBird already has a built-in IdP. If we want to use it to provide identity services for other applications, we would only need to expose an interface for registering OAuth2 applications. Everything else is already in place and supported by Dex. In fact, the current dashboard and netbird-cli are already using it. We might not even need a web interface to manage this — simply loading a configuration file could be sufficient.

That said, I also agree that this is not NetBird’s original purpose. However, for self-hosted setups, it is indeed an attractive option.

<!-- gh-comment-id:3891098365 --> @Aalivexy commented on GitHub (Feb 12, 2026): > I'm not a dev or in any way related to netbird but I think having this as feature will just be more complex and not related to what netbird is used for, a simple solution is to use Authentik or something else for small teams that way the devs won't need to allocate more resources on that feature > > Just a thought I understand what you mean. The reason I said that is because NetBird already has a built-in IdP. If we want to use it to provide identity services for other applications, we would only need to expose an interface for registering OAuth2 applications. Everything else is already in place and supported by Dex. In fact, the current dashboard and netbird-cli are already using it. We might not even need a web interface to manage this — simply loading a configuration file could be sufficient. That said, I also agree that this is not NetBird’s original purpose. However, for self-hosted setups, it is indeed an attractive option.
Author
Owner

@Thndr commented on GitHub (Feb 23, 2026):

While I don't expect Netbird to be as advanced as Authentik as an IdP provider, for many small labs or minor industry use/testing not having to manage Netbird's IdP and setup another IdP would be very convenient, especially if you intend for all the hosted apps you are accessing to be accesible via the Netbird network.

In a professional environment the better management tools Authentik has for advanced user control is probably necessary, but if Netbird's IdP backend is secure and has that functionality there's no reason to not provide it as an option down the line.

It's not a priority but it would be a nice feature to have since not only does it do IdP but also reverse proxying with authentication prompts.

I'm still probably going to still run Authentik in the professional environment mostly because I'm using Netbird as a backend for services and not something users connect through, so that Netbird instance won't need registered users other than the Admins, and I'll be using Google SSO for any users I do need to add. (Although that means I wouldn't be able to use the Reverse Proxy authentication features Netbird offers without duplicating all the users into netbird)

If Netbird's IdP is equivalent to Authentik down the line maybe it could replace the need for it, but I doubt that'll happen anytime soon unless it can be done without complicating the project scope too much.

It'd be nice to not have to host an Authentik service for my personal homelab though, where the threat level and management requirements are more lax.

<!-- gh-comment-id:3944913932 --> @Thndr commented on GitHub (Feb 23, 2026): While I don't expect Netbird to be as advanced as Authentik as an IdP provider, for many small labs or minor industry use/testing not having to manage Netbird's IdP and setup another IdP would be very convenient, especially if you intend for all the hosted apps you are accessing to be accesible via the Netbird network. In a professional environment the better management tools Authentik has for advanced user control is probably necessary, but if Netbird's IdP backend is secure and has that functionality there's no reason to not provide it as an option down the line. It's not a priority but it would be a nice feature to have since not only does it do IdP but also reverse proxying with authentication prompts. I'm still probably going to still run Authentik in the professional environment mostly because I'm using Netbird as a backend for services and not something users connect through, so that Netbird instance won't need registered users other than the Admins, and I'll be using Google SSO for any users I do need to add. (Although that means I wouldn't be able to use the Reverse Proxy authentication features Netbird offers without duplicating all the users into netbird) If Netbird's IdP is equivalent to Authentik down the line maybe it could replace the need for it, but I doubt that'll happen anytime soon unless it can be done without complicating the project scope too much. It'd be nice to not have to host an Authentik service for my personal homelab though, where the threat level and management requirements are more lax.
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#10897