Auto-create remote groups #5575

Closed
opened 2025-12-29 19:29:40 +01:00 by adam · 1 comment
Owner

Originally created by @larsks on GitHub (Oct 28, 2021).

As a data center administrator using Keycloak to manage auth/authz, I would like NetBox to automatically instantiate groups provided by Keycloak when using REMOTE_AUTH_ENABLED.

With REMOTE_AUTH_ENABLED and REMOTE_AUTH_GROUP_SYNC_ENABLED, it's still necessary to manually create groups before the group sync is effective. I would like to see a REMOTE_AUTH_AUTO_CREATE_GROUPS setting, analagous to REMOTE_AUTH_AUTO_CREATE_USER but for groups, that would cause NetBox to automatically create any groups in the REMOTE_AUTH_GROUP_HEADER. This would allow authorization to be completely delegated to the identity management platform.

This is the same feature requested by this comment in #5775.

Originally created by @larsks on GitHub (Oct 28, 2021). As a data center administrator using Keycloak to manage auth/authz, I would like NetBox to automatically instantiate groups provided by Keycloak when using `REMOTE_AUTH_ENABLED`. With `REMOTE_AUTH_ENABLED` and `REMOTE_AUTH_GROUP_SYNC_ENABLED`, it's still necessary to manually create groups before the group sync is effective. I would like to see a `REMOTE_AUTH_AUTO_CREATE_GROUPS` setting, analagous to `REMOTE_AUTH_AUTO_CREATE_USER` but for groups, that would cause NetBox to automatically create any groups in the `REMOTE_AUTH_GROUP_HEADER`. This would allow authorization to be completely delegated to the identity management platform. This is the same feature requested by [this comment](https://github.com/netbox-community/netbox/issues/5775#issuecomment-883651758) in #5775.
adam closed this issue 2025-12-29 19:29:40 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 28, 2021):

This issue has been closed as it does not conform to one of the provided templates as required by the contributing guide. If you'd like to request that your issue be re-opened, please first update the content so that it matches the appropriate template (this may require rewriting your issue entirely).

@jeremystretch commented on GitHub (Oct 28, 2021): This issue has been closed as it does not conform to one of the [provided templates](https://github.com/netbox-community/netbox/issues/new/choose) as required by the [contributing guide](https://github.com/netbox-community/netbox/blob/master/CONTRIBUTING.md). If you'd like to request that your issue be re-opened, please first update the content so that it matches the appropriate template (this may require rewriting your issue entirely).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5575