From 34e18317a2bb5983d801a888e1e6f5b0a097a105 Mon Sep 17 00:00:00 2001 From: Igor Lobanov Date: Wed, 8 Nov 2023 19:24:38 +0100 Subject: [PATCH] google oauth fix --- auth/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/oauth.py b/auth/oauth.py index 7021ecb7..25cc280a 100644 --- a/auth/oauth.py +++ b/auth/oauth.py @@ -74,7 +74,7 @@ async def oauth_login(request): provider = request.path_params["provider"] request.session["provider"] = provider client = oauth.create_client(provider) - redirect_uri = "http://v2.discours.io/oauth-authorize" + redirect_uri = "https://v2.discours.io/oauth-authorize" return await client.authorize_redirect(request, redirect_uri)