[GH-ISSUE #4882] Support JWT Groups Creation via netbird API to Define Policies Prior to IdP Provisioning #10018

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

Originally created by @marcportabellaclotet-mt on GitHub (Dec 1, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/4882

I would like the ability to define NetBird rules before the IdP creates any groups.

Currently, the IdP must create the group first — meaning at least one user has to log in to NetBird through the IdP before any policies or access rules can be configured for that group.

It would be ideal if these groups could be created using the jwt issue type so that rules can be defined ahead of time, without requiring an initial IdP login.

The problem with creating API-issued groups is that when a user logs in through the IdP, they are not automatically associated with those groups, as shared on this issue 2685

Originally created by @marcportabellaclotet-mt on GitHub (Dec 1, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/4882 I would like the ability to define NetBird rules before the IdP creates any groups. Currently, the IdP must create the group first — meaning at least one user has to log in to NetBird through the IdP before any policies or access rules can be configured for that group. It would be ideal if these groups could be created using the jwt issue type so that rules can be defined ahead of time, without requiring an initial IdP login. The problem with creating API-issued groups is that when a user logs in through the IdP, they are not automatically associated with those groups, as shared on this issue [2685](https://github.com/netbirdio/netbird/issues/2685)
saavagebueno added the feature-request label 2026-08-05 01:24:20 -04:00
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#10018