From 962383462fa4f9cce2938104ca07bd9b06cfa04d Mon Sep 17 00:00:00 2001 From: Guillem Borrell Date: Mon, 10 Jun 2024 09:11:54 +0200 Subject: [PATCH] Fixed redirect uri --- src/hellocomputer/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hellocomputer/main.py b/src/hellocomputer/main.py index ec17aab..c2c1e35 100644 --- a/src/hellocomputer/main.py +++ b/src/hellocomputer/main.py @@ -44,7 +44,7 @@ async def homepage(request: Request): async def login(request: Request): return await oauth.auth0.authorize_redirect( request, - redirect_uri="http://localhost:8000/callback", + redirect_uri=f"{settings.base_url}/callback", )