Allow oauth1 field oauth_verifier in querystring
authorMagnus Hagander <magnus@hagander.net>
Wed, 3 Mar 2021 11:48:56 +0000 (12:48 +0100)
committerMagnus Hagander <magnus@hagander.net>
Wed, 3 Mar 2021 11:48:56 +0000 (12:48 +0100)
pgweb/account/oauthclient.py

index ca13ceaf7c7a229e7f687ab80e59dca0a98a8f12..bd57243e03b6bf202dcd64017ce594e958809349 100644 (file)
@@ -284,7 +284,7 @@ def oauth_login_twitter(request):
         _twitter_auth_data)
 
 
-@queryparams('code', 'state', 'next')
+@queryparams('code', 'state', 'next', 'oauth_verifier')
 def login_oauth(request, provider):
     fn = 'oauth_login_{0}'.format(provider)
     m = sys.modules[__name__]