Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions lib/puppet/provider/keycloak_client/kcadm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ def attributes_properties
:saml_client_signature,
:saml_signing_certificate,
:saml_encryption_certificate,
:saml_signing_private_key
:saml_signing_private_key,
:pkce_code_challenge_method
]
end

Expand All @@ -34,7 +35,8 @@ def dot_attributes_properties
:saml_client_signature,
:saml_signing_certificate,
:saml_encryption_certificate,
:saml_signing_private_key
:saml_signing_private_key,
:pkce_code_challenge_method
]
end

Expand Down
6 changes: 6 additions & 0 deletions lib/puppet/type/keycloak_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,12 @@ def insync?(is)
defaultto []
end

newproperty(:pkce_code_challenge_method) do
desc 'PKCE Code Challenge Method for OAuth 2.0 flows'
newvalues('S256', 'plain', :absent)
defaultto :absent
end

autorequire(:keycloak_client_scope) do
requires = []
catalog.resources.each do |resource|
Expand Down