Skip to content

Commit

Permalink
Added Organizations and OrganizationsEnabled fields to RealmPresentation
Browse files Browse the repository at this point in the history
  • Loading branch information
WilfredDube committed Jan 7, 2025
1 parent 5c223ca commit 772bc78
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,10 @@ services:
retries: 5
volumes:
- ./testdata/gocloak-realm.json:/opt/keycloak/data/import/gocloak-realm.json
entrypoint: ["/opt/keycloak/bin/kc.sh", "start-dev", "--features=preview", "--import-realm"]
entrypoint:
[
"/opt/keycloak/bin/kc.sh",
"start-dev",
"--features=preview",
"--import-realm",
]
2 changes: 2 additions & 0 deletions models.go
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,8 @@ type RealmRepresentation struct {
OfflineSessionIdleTimeout *int `json:"offlineSessionIdleTimeout,omitempty"`
OfflineSessionMaxLifespan *int `json:"offlineSessionMaxLifespan,omitempty"`
OfflineSessionMaxLifespanEnabled *bool `json:"offlineSessionMaxLifespanEnabled,omitempty"`
OrganizationsEnabled bool `json:"organizationsEnabled,omitempty"`
Organizations *[]interface{} `json:"organizations,omitempty"`
OtpPolicyAlgorithm *string `json:"otpPolicyAlgorithm,omitempty"`
OtpPolicyDigits *int `json:"otpPolicyDigits,omitempty"`
OtpPolicyInitialCounter *int `json:"otpPolicyInitialCounter,omitempty"`
Expand Down

0 comments on commit 772bc78

Please sign in to comment.