Skip to content
Merged
Changes from 1 commit
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
8 changes: 6 additions & 2 deletions ansible_base/authentication/authenticator_plugins/oidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,12 @@ class OpenIdConnectConfiguration(BaseAuthenticatorConfiguration):
)

JWT_ALGORITHMS = ListField(
help_text=_("The algorithm(s) for decoding JWT responses from the IDP."),
default=None,
help_text=_(
"The algorithm(s) for decoding JWT responses from the IDP. "
"Leave blank to extract from the .well-known configuration (if that fails we will attempt the default algorithms). "
"Set to ['none'] to not use encrypted tokens (the provider must send unencrypted tokens for this to work)"
),
default=OpenIdConnectAuth.JWT_ALGORITHMS,
allow_null=True,
validators=[JWTAlgorithmListFieldValidator()],
ui_field_label=_('OIDC JWT Algorithm(s)'),
Expand Down