Merge pull request #14991 from jumpserver/pam

fix: OIDC PKCE S256
pull/15004/head
老广 2025-03-11 11:02:09 +08:00 committed by GitHub
commit 7af1c6a2bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class CommonSettingSerializer(serializers.Serializer):
AUTH_OPENID_PKCE = serializers.BooleanField(required=False, label=_('Enable PKCE'))
AUTH_OPENID_CODE_CHALLENGE_METHOD = serializers.ChoiceField(
default='S256', label=_('Code challenge method'),
choices=(('S256', 'HS256'), ('plain', 'Plain'))
choices=(('S256', 'S256'), ('plain', 'Plain'))
)