diff --git a/customer_orders_service/auth/views.py b/customer_orders_service/auth/views.py index 6a6e3df..1e31256 100644 --- a/customer_orders_service/auth/views.py +++ b/customer_orders_service/auth/views.py @@ -9,7 +9,7 @@ class LoginAPI(MethodView): def get(self): - redirect_uri = url_for('auth.authorize_api', _external=True) + redirect_uri = url_for('auth.authorize_api', _external=True, _scheme='https') return oauth.google.authorize_redirect(redirect_uri) login_view = LoginAPI.as_view('login_api')