From d6dd0d69d060ff6a9d97aa8ef784b54302e61bc2 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Thu, 31 Aug 2017 14:32:39 +0200 Subject: [PATCH] Fix for missing underscore in _scheme arg Be more careful next time! --- pillar/auth/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar/auth/oauth.py b/pillar/auth/oauth.py index 19b7fc81..a01c6a11 100644 --- a/pillar/auth/oauth.py +++ b/pillar/auth/oauth.py @@ -75,7 +75,7 @@ class OAuthSignIn(metaclass=abc.ABCMeta): def get_callback_url(self): return url_for('users.oauth_callback', provider=self.provider_name, - _external=True, scheme=current_app.config['SCHEME']) + _external=True, _scheme=current_app.config['SCHEME']) @staticmethod def auth_code_from_request() -> str: