summaryrefslogtreecommitdiffhomepage
path: root/apioforum/auth_api.py
blob: 7e30ad5c756f5967030f113208f66e7f855d5541 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"