[GH-ISSUE #5343] Reverse proxy SSO doesn't work with group "all" #11278

Open
opened 2026-08-05 01:29:10 -04:00 by saavagebueno · 5 comments
Owner

Originally created by @pieterhollander on GitHub (Feb 16, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5343

Describe the problem

Reverse proxy SSO doesn't work with group "all"

To Reproduce

  • Create a reverse proxy service and enable SSO.
  • As group, use "All"
  • Try to login to the service.

Result:

Error 403 Access Denied You are not authorized to access this service

Expected behavior

All users should be allowed to use the service, given that all users are part of group "All".

Are you using NetBird Cloud?

self-hosted

NetBird version

N/A

Screenshots

Image

Additional context

Whenever I create a separate group and implicitly add a user to that group, SSO works as expected for that user and access is granted.
I'm using Zitadel as IDP, as described in the advanced setup method.

Originally created by @pieterhollander on GitHub (Feb 16, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5343 **Describe the problem** Reverse proxy SSO doesn't work with group "all" **To Reproduce** - Create a reverse proxy service and enable SSO. - As group, use "All" - Try to login to the service. Result: Error 403 Access Denied You are not authorized to access this service **Expected behavior** All users should be allowed to use the service, given that all users are part of group "All". **Are you using NetBird Cloud?** self-hosted **NetBird version** N/A **Screenshots** <img width="713" height="342" alt="Image" src="https://github.com/user-attachments/assets/a404ad91-8529-4459-b3d1-7293f44d1fe1" /> **Additional context** Whenever I create a separate group and implicitly add a user to that group, SSO works as expected for that user and access is granted. I'm using Zitadel as IDP, as described in the advanced setup method.
saavagebueno added the bugdashboard labels 2026-08-05 01:29:10 -04:00
Author
Owner

@shaban00 commented on GitHub (Feb 16, 2026):

@pieterhollander The default group All is for netbird peers not users. When you add a new peer by default it is automatically part of the All group. The reverse proxy SSO works with group with users.

<!-- gh-comment-id:3912030206 --> @shaban00 commented on GitHub (Feb 16, 2026): @pieterhollander The default group `All` is for netbird peers not users. When you add a new peer by default it is automatically part of the `All` group. The reverse proxy `SSO` works with group with `users`.
Author
Owner

@heisbrot commented on GitHub (Feb 17, 2026):

Hey @pieterhollander,

@shaban00 is right. Dashboard currently also requires at least one group, which is wrong. It should be possible to leave it empty for all users. I will provide a fix for this today and let you know.

<!-- gh-comment-id:3913043600 --> @heisbrot commented on GitHub (Feb 17, 2026): Hey @pieterhollander, @shaban00 is right. Dashboard currently also requires at least one group, which is wrong. It should be possible to leave it empty for all users. I will provide a fix for this today and let you know.
Author
Owner

@pieterhollander commented on GitHub (Feb 17, 2026):

Hi @shaban00 and thanks for explaining. That explains it.
It's however different from the behaviour of using the embedded SSH browser connection.
With SSH, I can select "All", and then any Netbird user can SSH to that system.
I would expect the proxy to behave similarly.

<!-- gh-comment-id:3913046297 --> @pieterhollander commented on GitHub (Feb 17, 2026): Hi @shaban00 and thanks for explaining. That explains it. It's however different from the behaviour of using the embedded SSH browser connection. With SSH, I can select "All", and then any Netbird user can SSH to that system. I would expect the proxy to behave similarly.
Author
Owner

@pieterhollander commented on GitHub (Feb 17, 2026):

@heisbrot I think our comments crossed each other, that's great to hear!

<!-- gh-comment-id:3913048733 --> @pieterhollander commented on GitHub (Feb 17, 2026): @heisbrot I think our comments crossed each other, that's great to hear!
Author
Owner

@Daedalus-Icarus commented on GitHub (Mar 5, 2026):

Hi @heisbrot, I'd like to help fix this. I see the fix was planned but no PR exists yet — would you welcome a community contribution? I can investigate the group resolution logic for the proxy SSO auth.

<!-- gh-comment-id:4004418015 --> @Daedalus-Icarus commented on GitHub (Mar 5, 2026): Hi @heisbrot, I'd like to help fix this. I see the fix was planned but no PR exists yet — would you welcome a community contribution? I can investigate the group resolution logic for the proxy SSO auth.
Sign in to join this conversation.
No Label bug dashboard
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#11278