diff --git a/pillar/auth/oauth.py b/pillar/auth/oauth.py index 7ac93502..19b7fc81 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) + _external=True, scheme=current_app.config['SCHEME']) @staticmethod def auth_code_from_request() -> str: