From c5981fb471e96b24b00df63b27aa9a22cbf16d51 Mon Sep 17 00:00:00 2001 From: Sheila-nk Date: Thu, 13 Jun 2024 10:53:18 +0300 Subject: [PATCH] change redirect_uri to https --- customer_orders_service/auth/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')