Skip to content

Commit

Permalink
Keycloak: Start page_start at 0
Browse files Browse the repository at this point in the history
Turns out, you need to start your page at 0 to get all users!
How could this have happened!
  • Loading branch information
NotActuallyTerry authored Jun 9, 2024
1 parent 22639ae commit 11bb420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion githubapp/keycloak.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def get_members(client: KeycloakAdmin = None, group_id: str = None):
# The response doesn't contain any info on the next page either
# Therefore, we'll need to iterate over the pages until the returned
# list is smaller than the provided page size
page_start = 1
page_start = 0
page_size = 100
members = []
group_members = client.get_group_members(
Expand Down

0 comments on commit 11bb420

Please sign in to comment.