From c10c4f7b2ab0a3da0409f0da62434b367a9833df Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Wed, 3 Mar 2021 12:48:56 +0100 Subject: [PATCH] Allow oauth1 field oauth_verifier in querystring --- pgweb/account/oauthclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgweb/account/oauthclient.py b/pgweb/account/oauthclient.py index ca13ceaf..bd57243e 100644 --- a/pgweb/account/oauthclient.py +++ b/pgweb/account/oauthclient.py @@ -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__] -- 2.39.5