From: Harmon Date: Mon, 7 Feb 2022 20:04:35 +0000 (-0600) Subject: Capitalize PKCE code challenge method X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=be9e3990641ad93327c0e49cb650b605a4336656;p=tweepy.git Capitalize PKCE code challenge method --- 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