From f19e4e4dd49e69f52c4e93c323f7f5ce8d4525b4 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sun, 18 Feb 2024 22:07:38 +0000 Subject: [PATCH] Include UniAuth callback --- web_view.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web_view.py b/web_view.py index 389b7c0..db52555 100755 --- a/web_view.py +++ b/web_view.py @@ -352,5 +352,11 @@ def holiday_list() -> str: ) +@app.route("/callback") +def auth_callback() -> tuple[str, int] | werkzeug.Response: + """Process the authentication callback.""" + return UniAuth.auth.auth_callback() + + if __name__ == "__main__": app.run(host="0.0.0.0")