We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a170494 commit b4bc23bCopy full SHA for b4bc23b
1 file changed
app.py
@@ -46,8 +46,8 @@ def authorized():
46
@app.route("/logout")
47
def logout():
48
session.clear() # Wipe out user and its token cache from session
49
- return redirect( # Also need to logout from Microsoft Identity platform
50
- "https://login.microsoftonline.com/common/oauth2/v2.0/logout"
+ return redirect( # Also logout from your tenant's web session
+ app_config.AUTHORITY + "/oauth2/v2.0/logout" +
51
"?post_logout_redirect_uri=" + url_for("index", _external=True))
52
53
@app.route("/graphcall")
0 commit comments