Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
mfshao committed Sep 30, 2019
1 parent 596e153 commit 6e0a4d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fence/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ def logout(next_url):
base = config["OPENID_CONNECT"]["fence"]["api_base_url"]
safe_url = urllib.parse.quote_plus(next_url)
provider_logout = base + "/logout?" + urllib.parse.urlencode({"next": safe_url})


logger.info(provider_logout)
logger.info(next_url)
flask.session.clear()
redirect_response = flask.make_response(
flask.redirect(provider_logout or urllib.parse.unquote(next_url))
Expand Down

0 comments on commit 6e0a4d0

Please sign in to comment.