$ pip install celery
$ pip install redis
from fastapi import Request, Depends, HTTPException, Response | |
from fastapi.responses import RedirectResponse | |
# This must be randomly generated | |
RANDON_SESSION_ID = "iskksioskassyidd" | |
# This must be a lookup on user database | |
USER_CORRECT = ("admin", "admin") | |
# This must be Redis, Memcached, SQLite, KV, etc... |