From cebc468e9a4a414270e17102b51e9931cf1fe01a Mon Sep 17 00:00:00 2001 From: Dinesh <97143739+dinesh-aot@users.noreply.github.com> Date: Tue, 16 Jan 2024 09:40:13 -0800 Subject: [PATCH] increased the max limit of users that can be fetched from keycloak (#1668) --- epictrack-api/src/api/services/keycloak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epictrack-api/src/api/services/keycloak.py b/epictrack-api/src/api/services/keycloak.py index 07d7fff55..6195ecbc7 100644 --- a/epictrack-api/src/api/services/keycloak.py +++ b/epictrack-api/src/api/services/keycloak.py @@ -23,7 +23,7 @@ class KeycloakService: @staticmethod def get_groups(brief_representation: bool = False): """Get all the groups""" - response = KeycloakService._request_keycloak(f'groups?briefRepresentation={brief_representation}') + response = KeycloakService._request_keycloak(f'groups?briefRepresentation={brief_representation}&max=2000') return response.json() @staticmethod