in backend/app.py [0:0]
def logout():
if ENABLE_AUTHENTICATION:
session.clear()
return redirect(
AUTHORITY + "/oauth2/v2.0/logout" +
"?post_logout_redirect_uri=" + url_for("index", _external=True)
)
else:
return redirect(url_for("index"))