mirror of
https://github.com/documize/community.git
synced 2025-07-23 07:09:43 +02:00
Increased Keycloak sync max results setting
Set to 99999 to support larger installations.
This commit is contained in:
parent
1b16be2505
commit
6073b24036
1 changed files with 2 additions and 2 deletions
|
@ -77,11 +77,11 @@ func Fetch(c keycloakConfig) (users []user.User, err error) {
|
|||
return users, err
|
||||
}
|
||||
|
||||
url := fmt.Sprintf("%s/admin/realms/%s/users?max=500", c.URL, c.Realm)
|
||||
url := fmt.Sprintf("%s/admin/realms/%s/users?max=99999", c.URL, c.Realm)
|
||||
c.Group = strings.TrimSpace(c.Group)
|
||||
|
||||
if len(c.Group) > 0 {
|
||||
url = fmt.Sprintf("%s/admin/realms/%s/groups/%s/members?max=500", c.URL, c.Realm, c.Group)
|
||||
url = fmt.Sprintf("%s/admin/realms/%s/groups/%s/members?max=99999", c.URL, c.Realm, c.Group)
|
||||
}
|
||||
|
||||
req, err = http.NewRequest("GET", url, nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue