Skip to content

Commit 4ff80a5

Browse files
committed
Rename to hide_on_login_page to hide_on_login
It seems that Keycloak 26 deprecated hideOnLoginPage - see https://www.keycloak.org/docs/latest/upgrading/index.html#improving-performance-for-selection-of-identity-providers Using the deprecated hideOnLoginPage yields: Keycloak_identity_provider[x on y]/hide_on_login_page: defined 'hide_on_login_page' as 'true' (corrective)
1 parent 8516850 commit 4ff80a5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/puppet/type/keycloak_identity_provider.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@
127127

128128
# BEGIN: oidc
129129

130-
newproperty(:hide_on_login_page, boolean: true) do
131-
desc 'hideOnLoginPage'
130+
newproperty(:hide_on_login, boolean: true) do
131+
desc 'hideOnLogin'
132132
newvalues(:true, :false)
133133
defaultto :false
134134
end

spec/unit/puppet/type/keycloak_identity_provider_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
authenticate_by_default: :false,
9797
link_only: :false,
9898
first_broker_login_flow_alias: 'first broker login',
99-
hide_on_login_page: :false,
99+
hide_on_login: :false,
100100
validate_signature: :false,
101101
ui_locales: :false,
102102
backchannel_supported: :false,
@@ -162,7 +162,7 @@
162162
:add_read_token_role_on_create,
163163
:authenticate_by_default,
164164
:link_only,
165-
:hide_on_login_page,
165+
:hide_on_login,
166166
:validate_signature,
167167
:ui_locales,
168168
:backchannel_supported,

0 commit comments

Comments
 (0)