No auto-group on api created groups #2117

Closed
opened 2025-11-20 07:04:08 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @KaiBroeker on GitHub (Jul 28, 2025).

Describe the problem
I use Authentik as SSO and have JWT auto group on.
If I add a group with terraform to netbird and add a user in authentik to a group with the same name no auto group will performed.

To Reproduce

Steps to reproduce the behavior:

  1. create group with terraform
  2. create a group with the same name in authentik and add a user to this group
  3. login with the user
  4. check the group tab - no mapping happend

Expected behavior

If I enable auto grouping over JWT I want to have a group assignment also if the group was manual created (over api/terraform)

Are you using NetBird Cloud?

tested on netbird selfhosted

NetBird version

0.51.2

Is any other VPN software installed?

No

Additional context

Add any other context about the problem here.

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @KaiBroeker on GitHub (Jul 28, 2025). **Describe the problem** I use Authentik as SSO and have JWT auto group on. If I add a group with terraform to netbird and add a user in authentik to a group with the same name no auto group will performed. **To Reproduce** Steps to reproduce the behavior: 1. create group with terraform 2. create a group with the same name in authentik and add a user to this group 3. login with the user 4. check the group tab - no mapping happend **Expected behavior** If I enable auto grouping over JWT I want to have a group assignment also if the group was manual created (over api/terraform) **Are you using NetBird Cloud?** tested on netbird selfhosted **NetBird version** `0.51.2` **Is any other VPN software installed?** No **Additional context** Add any other context about the problem here. **Have you tried these troubleshooting steps?** - [x] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client - [x] Disabled other VPN software - [x] Checked firewall settings
saavagebueno added the triage-needed label 2025-11-20 07:04:08 -05:00
Author
Owner

@MichaelUray commented on GitHub (Aug 21, 2025):

Looks like duplicate to https://github.com/netbirdio/netbird/issues/2685

@MichaelUray commented on GitHub (Aug 21, 2025): Looks like duplicate to https://github.com/netbirdio/netbird/issues/2685
Author
Owner

@KaiBroeker commented on GitHub (Aug 22, 2025):

you are right. Oversaw the other issue, sorry.

@KaiBroeker commented on GitHub (Aug 22, 2025): you are right. Oversaw the other issue, sorry.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2117