From be9e3990641ad93327c0e49cb650b605a4336656 Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 7 Feb 2022 14:04:35 -0600 Subject: [PATCH] Capitalize PKCE code challenge method --- tweepy/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/auth.py b/tweepy/auth.py index 27f1bab..72d72e9 100644 --- a/tweepy/auth.py +++ b/tweepy/auth.py @@ -211,7 +211,7 @@ class OAuth2UserHandler(OAuth2Session): ).rstrip(b'=') authorization_url, state = self.authorization_url( "https://twitter.com/i/oauth2/authorize", - code_challenge=code_challenge, code_challenge_method="s256" + code_challenge=code_challenge, code_challenge_method="S256" ) return authorization_url -- 2.25.1