diff --git a/api/obs/api/routes/login.py b/api/obs/api/routes/login.py index fdd0c37..4411e96 100644 --- a/api/obs/api/routes/login.py +++ b/api/obs/api/routes/login.py @@ -43,7 +43,7 @@ async def login(req, next: str = None): "response_type": "code", "scope": ["openid"], "nonce": session["nonce"], - "redirect_uri": req.ctx.frontend_url + "/login/redirect", + "redirect_uri": req.ctx.api_url + "/login/redirect", "state": session["state"], }