Skip to content

Commit

Permalink
Fix getting real group name
Browse files Browse the repository at this point in the history
  • Loading branch information
tomako authored and OmeGak committed Oct 25, 2024
1 parent 106c804 commit a364d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flask_multipass_keycloak.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def get_identity_groups(self, identifier):
@memoize_request
def _get_group_data(self, name):
# API allows searching groups only by name
_, real_group_name = name.rsplit(' > ', 1)
*_, real_group_name = name.rsplit(' > ', 1)
group_path = self.group_name_as_path(name)
params = {'search': real_group_name,
'exact': 'true',
Expand Down

0 comments on commit a364d70

Please sign in to comment.