fix: redirect from keycloak to api, not to frontend
This commit is contained in:
parent
54cc80e5bc
commit
c283bed13c
|
@ -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"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue