Open vijayvikma opened 3 years ago
@app.route('/logout') def logout(): refresh_token = oidc.get_refresh_token() oidc.logout() payload = { "client_id": oidc.client_secrets.get("client_id"), "refresh_token": refresh_token, "client_secret": app.config.get("SECRET_KEY") } res = requests.post(oidc.client_secrets.get("logout_uri"), data=payload, verify=True) msg = "error!" if res.status_code < 300: msg = "success!" return msg
@billsteve when the logout url will hit at that time the code will work.here is no option of single sign out. when the user session is expired the superset user is auto logout . it possible ?
Do you mean OpenID Connect Back-Channel Logout?
Searching the codebase for
backchannel_logout_uri
yields no results, but I wonder if someone implemented it in a fork.