We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 366ea2f + 01da846 commit 6bb73a9Copy full SHA for 6bb73a9
1 file changed
app.py
@@ -37,7 +37,7 @@ def authorized():
37
result = _build_msal_app(cache=cache).acquire_token_by_auth_code_flow(
38
session.get("flow", {}), request.args)
39
if "error" in result:
40
- return render_template("error.html", result)
+ return render_template("auth_error.html", result=result)
41
session["user"] = result.get("id_token_claims")
42
_save_cache(cache)
43
except ValueError: # Usually caused by CSRF
0 commit comments