Keycloak: Start page_start at 0

Turns out, you need to start your page at 0 to get all users!
How could this have happened!
This commit is contained in:
Ike Johnson-Woods 2024-06-09 11:55:05 +08:00 коммит произвёл GitHub
Родитель 22639ae89e
Коммит 11bb4207fa
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -76,7 +76,7 @@ class Keycloak:
# The response doesn't contain any info on the next page either # The response doesn't contain any info on the next page either
# Therefore, we'll need to iterate over the pages until the returned # Therefore, we'll need to iterate over the pages until the returned
# list is smaller than the provided page size # list is smaller than the provided page size
page_start = 1 page_start = 0
page_size = 100 page_size = 100
members = [] members = []
group_members = client.get_group_members( group_members = client.get_group_members(