fix: redirect from keycloak to api, not to frontend

This commit is contained in:
Paul Bienkowski 2021-11-30 19:53:37 +01:00
parent 54cc80e5bc
commit c283bed13c

View file

@ -43,7 +43,7 @@ async def login(req, next: str = None):
"response_type": "code", "response_type": "code",
"scope": ["openid"], "scope": ["openid"],
"nonce": session["nonce"], "nonce": session["nonce"],
"redirect_uri": req.ctx.frontend_url + "/login/redirect", "redirect_uri": req.ctx.api_url + "/login/redirect",
"state": session["state"], "state": session["state"],
} }