1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Keycloak authentication provider ID choices (#6763)

* refac: provider id choices

* feat: minor changes fragment

* Update changelogs/fragments/6763-keycloak-auth-provider-choices.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Skrekulko <Skrekulko@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Skrekulko 2023-06-27 21:26:03 +02:00 committed by GitHub
parent 3571df837d
commit a53bf9d261
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- keycloak_authentication - added provider ID choices, since Keycloak supports only those two specific ones (https://github.com/ansible-collections/community.general/pull/6763).

View file

@ -43,6 +43,7 @@ options:
providerId: providerId:
description: description:
- C(providerId) for the new flow when not copied from an existing flow. - C(providerId) for the new flow when not copied from an existing flow.
choices: [ "basic-flow", "client-flow" ]
type: str type: str
copyFrom: copyFrom:
description: description:
@ -331,7 +332,7 @@ def main():
meta_args = dict( meta_args = dict(
realm=dict(type='str', required=True), realm=dict(type='str', required=True),
alias=dict(type='str', required=True), alias=dict(type='str', required=True),
providerId=dict(type='str'), providerId=dict(type='str', choices=["basic-flow", "client-flow"]),
description=dict(type='str'), description=dict(type='str'),
copyFrom=dict(type='str'), copyFrom=dict(type='str'),
authenticationExecutions=dict(type='list', elements='dict', authenticationExecutions=dict(type='list', elements='dict',