Skip to content

Commit

Permalink
Keycloak authentication provider ID choices (#6763)
Browse files Browse the repository at this point in the history
* refac: provider id choices

* feat: minor changes fragment

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

Co-authored-by: Felix Fontein <[email protected]>

---------

Co-authored-by: Skrekulko <[email protected]>
Co-authored-by: Felix Fontein <[email protected]>
  • Loading branch information
3 people authored Jun 27, 2023
1 parent 3571df8 commit a53bf9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/6763-keycloak-auth-provider-choices.yml
Original file line number Diff line number Diff line change
@@ -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).
3 changes: 2 additions & 1 deletion plugins/modules/keycloak_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
providerId:
description:
- C(providerId) for the new flow when not copied from an existing flow.
choices: [ "basic-flow", "client-flow" ]
type: str
copyFrom:
description:
Expand Down Expand Up @@ -331,7 +332,7 @@ def main():
meta_args = dict(
realm=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'),
copyFrom=dict(type='str'),
authenticationExecutions=dict(type='list', elements='dict',
Expand Down

0 comments on commit a53bf9d

Please sign in to comment.