Fixes #1050 Major refactor of the user/auth system to remove fastapi_users dependency. Refactors users.py to be standalone and adds new auth.py module for handling auth. UserManager now works similar to other ops classes. The auth should be fully backwards compatible with fastapi_users auth, including accepting previous JWT tokens w/o having to re-login. The User data model in mongodb is also unchanged. Additional fixes: - allows updating fastapi to latest - add webhook docs to openapi (follow up to #1041) API changes: - Removing the`GET, PATCH, DELETE /users/<id>` endpoints, which were not in used before, as users are scoped to orgs. For deletion, probably auto-delete when user is removed from last org (to be implemented). - Rename `/users/me-with-orgs` is renamed to just `/users/me/` - New `PUT /users/me/change-password` endpoint with password required to update password, fixes #1269, supersedes #1272 Frontend changes: - Fixes from #1272 to support new change password endpoint. --------- Co-authored-by: Tessa Walsh <tessa@bitarchivist.net> Co-authored-by: sua yoo <sua@suayoo.com>
26 lines
415 B
Plaintext
26 lines
415 B
Plaintext
uvicorn
|
|
fastapi==0.103.2
|
|
motor==3.3.1
|
|
passlib
|
|
PyJWT==2.8.0
|
|
pydantic==1.10.13
|
|
email-validator
|
|
#fastapi-users[mongodb]==9.2.2
|
|
loguru
|
|
aiofiles
|
|
kubernetes-asyncio==25.11.0
|
|
kubernetes
|
|
aiobotocore
|
|
redis>=5.0.0
|
|
pyyaml
|
|
jinja2
|
|
humanize
|
|
python-multipart
|
|
pathvalidate
|
|
https://github.com/ikreymer/stream-zip/archive/refs/heads/stream-uncompress.zip
|
|
boto3
|
|
backoff>=2.2.1
|
|
python-slugify>=8.0.1
|
|
mypy_boto3_s3
|
|
types_aiobotocore_s3
|