This commit is contained in:
Timothy Jaeryang Baek 2025-10-07 16:13:20 -05:00
parent 73f38dce88
commit dbbdad3ebd

View file

@ -349,6 +349,13 @@ class OAuthClientManager:
if (
oauth_client_info.server_metadata
and oauth_client_info.server_metadata.code_challenge_methods_supported
):
if (
isinstance(
oauth_client_info.server_metadata.code_challenge_methods_supported,
list,
)
and "S256"
in oauth_client_info.server_metadata.code_challenge_methods_supported
):