refac
This commit is contained in:
@@ -349,6 +349,13 @@ class OAuthClientManager:
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
oauth_client_info.server_metadata
|
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"
|
and "S256"
|
||||||
in oauth_client_info.server_metadata.code_challenge_methods_supported
|
in oauth_client_info.server_metadata.code_challenge_methods_supported
|
||||||
):
|
):
|
||||||
|
|||||||
Reference in New Issue
Block a user