This commit is contained in:
gruenbauer@b1-systems.de 2025-07-30 05:12:38 -04:00 committed by GitHub
commit 9f4187ede1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- keycloak_identity_provider - add ``hideOnLogin`` parameter to the module, the old parameter ``config/hideOnLoginPage`` is kept for compatibility (https://github.com/ansible-collections/community.general/pull/9983).

View file

@ -123,6 +123,15 @@ options:
- providerId
type: str
hide_on_login:
description:
- If hidden, login with this provider is possible only if requested explicitly, for example using the C(kc_idp_hint)
- Parameter was added in Keycloak 26, for older Keycloak versions use O(config.hide_on_login_page)
aliases:
- hideOnLogin
type: bool
version_added: 10.6.0
config:
description:
- Dict specifying the configuration options for the provider; the contents differ depending on the value of O(provider_id).
@ -492,6 +501,7 @@ def main():
provider_id=dict(type='str', aliases=['providerId']),
store_token=dict(type='bool', aliases=['storeToken']),
trust_email=dict(type='bool', aliases=['trustEmail']),
hide_on_login=dict(type='bool', aliases=['hideOnLogin']),
mappers=dict(type='list', elements='dict', options=mapper_spec),
)