From c853093fe46d3ff2555609c44c69b86a53bcd7d6 Mon Sep 17 00:00:00 2001 From: citrons Date: Sat, 7 Aug 2021 22:13:47 +0000 Subject: the --- apioforum/auth_api.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 apioforum/auth_api.py diff --git a/apioforum/auth_api.py b/apioforum/auth_api.py new file mode 100644 index 0000000..7e30ad5 --- /dev/null +++ b/apioforum/auth_api.py @@ -0,0 +1,16 @@ +# log in with apioforum + +from flask import ( + Blueprint, render_template, request, + g, redirect, url_for, flash, abort +) + +from .db import get_db +from secrets import token_hex +from urllib.parse import urlparse + +bp = Blueprint("api", __name__, url_prefix="/api") + +@bp.route("/authorize") +def authorize(): + return "placeholder" -- cgit v1.2.3