diff --git a/ansible_base/authentication/authenticator_plugins/oidc.py b/ansible_base/authentication/authenticator_plugins/oidc.py index 890720141..f810c7e41 100644 --- a/ansible_base/authentication/authenticator_plugins/oidc.py +++ b/ansible_base/authentication/authenticator_plugins/oidc.py @@ -124,7 +124,7 @@ class OpenIdConnectConfiguration(BaseAuthenticatorConfiguration): JWT_ALGORITHMS = ListField( help_text=_("The algorithm(s) for decoding JWT responses from the IDP."), - default=None, + default=OpenIdConnectAuth.JWT_ALGORITHMS, allow_null=True, validators=[JWTAlgorithmListFieldValidator()], ui_field_label=_('OIDC JWT Algorithm(s)'),