[GH-ISSUE #1302] Autocreate and assign Groups from IDP #2023

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

Originally created by @NiclasPe on GitHub (Nov 10, 2023).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1302

Describe the problem
I wanna assign netbird users the same groups they have in authentik, so that i can manage them central. But when i tryed it, it didn´t work. It´s an fresh installed netbird on an vps with public IP and an authentik behind traefik. But it should configured right, because other OpenID/OAuth2 Apps work perfectly.

To Reproduce
Steps to reproduce the behavior:

  1. Install Netbird with authentik like described here
  2. After Installation you should be able to Login successful.
  3. Now go to Settings -> Groups
  4. Enable: user group propagation & JWT group sync
  5. As JWT claim chose "groups" and save.
  6. I also added groups as "scope" unter: "NETBIRD_AUTH_SUPPORTED_SCOPES" in setup.env

Expected behavior
I expected that when a new user logs in, his Authentik Groups will be created and assigned in Netbird.

Screenshots
Bildschirmfoto 2023-11-10 um 12 11 38
Bildschirmfoto 2023-11-10 um 12 10 45
Bildschirmfoto 2023-11-10 um 12 10 28

Additional context
Iam using Authentik with LDAP Backand and other OPENID Applications can get the groups with the groups scope.

Originally created by @NiclasPe on GitHub (Nov 10, 2023). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1302 **Describe the problem** I wanna assign netbird users the same groups they have in authentik, so that i can manage them central. But when i tryed it, it didn´t work. It´s an fresh installed netbird on an vps with public IP and an authentik behind traefik. But it should configured right, because other OpenID/OAuth2 Apps work perfectly. **To Reproduce** Steps to reproduce the behavior: 1. Install Netbird with authentik like described [here](https://docs.netbird.io/selfhosted/selfhosted-guide) 2. After Installation you should be able to Login successful. 3. Now go to Settings -> Groups 4. Enable: user group propagation & JWT group sync 5. As JWT claim chose "groups" and save. 6. I also added groups as "scope" unter: "NETBIRD_AUTH_SUPPORTED_SCOPES" in setup.env **Expected behavior** I expected that when a new user logs in, his Authentik Groups will be created and assigned in Netbird. **Screenshots** ![Bildschirmfoto 2023-11-10 um 12 11 38](https://github.com/netbirdio/netbird/assets/52936786/1591b7d6-68f0-4dce-ab96-bdfe7b09d191) ![Bildschirmfoto 2023-11-10 um 12 10 45](https://github.com/netbirdio/netbird/assets/52936786/e7ab29de-687f-4895-9976-ace3c43f4c81) ![Bildschirmfoto 2023-11-10 um 12 10 28](https://github.com/netbirdio/netbird/assets/52936786/de81acb8-7e07-4b18-8a4d-8323d22ecad5) **Additional context** Iam using Authentik with LDAP Backand and other OPENID Applications can get the groups with the groups scope.
saavagebueno added the idpconfig-idpauthentik labels 2026-08-05 00:45:01 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#2023