JWT SSO - enable ability to not override groups
Summary: David Robinson suggests enhancing the feature for syncing groups using JWT by offering an option to prevent automatic overrides of groups when the Groups claim is not present. This would allow more control where the upstream IDP is not under full control, ensuring manual updates are preserved while reliably allocating groups through other means.
With the Set Roles from Groups > Define by Group option we can sync groups with the specified Groups claim. Though we have instances where it would be ideal if we could specify 'do not override/sync groups' for this JWT, but apply normally if the groups claim is present.
The use case being we don't have full control over the upstream IDP and reliably identifying a valid set of groups. In such an instance, we can apply groups via the JWT where we are confident in the group allocation decision, but have to perform a lookup to some state (i.e. Sisense REST API) to ensure we don't revert any manual updates applied to a selection of users.