fix openid logout (wasn't working with old keycloak anyhow, but this works at least with new keycloak)
This commit is contained in:
parent
41ce56ac09
commit
edc3c37abb
|
@ -170,4 +170,4 @@ async def logout(req):
|
|||
auth_req = client.construct_EndSessionRequest(state=session["state"])
|
||||
logout_url = auth_req.request(client.end_session_endpoint)
|
||||
|
||||
return redirect(logout_url + f"&redirect_uri={req.ctx.api_url}/logout")
|
||||
return redirect(logout_url + f"&post_logout_redirect_uri={req.ctx.api_url}/logout")
|
||||
|
|
Loading…
Reference in a new issue