[Multi-User Part 2]: Add login pages and gate access to application behind login wall (#503)

- Make most routes conditional on authentication *if anonymous mode is not enabled*. If anonymous mode is enabled, it scaffolds a default user and uses that for all application interactions.
- Add a basic login page and add routes for redirecting the user if logged in
This commit is contained in:
sabaimran
2023-10-26 10:17:29 -07:00
committed by GitHub
parent 216acf545f
commit a8a82d274a
13 changed files with 327 additions and 59 deletions

View File

@@ -68,6 +68,8 @@ dependencies = [
"httpx == 0.25.0",
"pgvector == 0.2.3",
"psycopg2-binary == 2.9.9",
"google-auth == 2.23.3",
"python-multipart == 0.0.6",
]
dynamic = ["version"]