From f142ec5fa42793a2ca35a360d2bad286352877d3 Mon Sep 17 00:00:00 2001 From: ablogo Date: Sat, 22 Aug 2026 18:50:02 +0900 Subject: [PATCH 1/2] update readme and req file --- README.md | 6 +++--- requirements.txt | 16 ++++++++-------- src/settings_validator.py | 1 - 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index e2b6a5d..afb44b2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ It is a microservice for user administration and authenication, using JWT tokens ## Requirements - Python 3.12+ -- FastApi 0.124+ +- FastApi 0.141+ - Google account and activate [Google cloud](https://console.cloud.google.com) to obtain OAuth2 config values (Optional) > [!IMPORTANT] @@ -49,7 +49,7 @@ uvicorn src.main:app --reload ``` 7. Open the next url in a browser to see the Swagger UI ```bash -http://127.0.0.1:8000/docs +http://127.0.0.1:7010/docs ``` ## Using with Docker @@ -63,7 +63,7 @@ docker pull ghcr.io/ablogo/authfastapi:latest ``` 2. Run a container from the image previously created ```bash -docker run -p 8000:80 --env-file .env auth-service:latest +docker run -p 7010:80 --env-file .env auth-service:latest ``` ## Google OAuth2 diff --git a/requirements.txt b/requirements.txt index 9a32ff9..4fa2150 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ annotated-doc==0.0.4 -annotated-types==0.7.0 +annotated-types==0.8.0 anyio==4.12.0 bcrypt==4.0.1 certifi==2026.1.4 @@ -7,9 +7,9 @@ cffi==2.0.0 charset-normalizer==3.4.4 click==8.3.1 cryptography==46.0.3 -dependency-injector==4.48.3 +dependency-injector==4.48.2 dnspython==2.8.0 -fastapi==0.127.0 +fastapi==0.141.1 google-auth==2.48.0 google-auth-oauthlib==1.2.4 h11==0.16.0 @@ -21,8 +21,8 @@ passlib==1.7.4 pyasn1==0.6.2 pyasn1_modules==0.4.2 pycparser==2.23 -pydantic==2.12.5 -pydantic_core==2.41.5 +pydantic==2.13.4 +pydantic_core==2.46.4 PyJWT==2.10.1 pymongo==4.15.5 python-dotenv==1.2.1 @@ -33,10 +33,10 @@ requests-oauthlib==2.0.0 rsa==4.9.1 setuptools==80.9.0 starlette==0.50.0 -typing-inspection==0.4.2 -typing_extensions==4.15.0 +typing-inspection==0.4.4 +typing_extensions==4.16.0 urllib3==2.6.3 -uvicorn==0.40.0 +uvicorn==0.52.4 uvloop==0.22.1 watchfiles==1.1.1 websockets==15.0.1 diff --git a/src/settings_validator.py b/src/settings_validator.py index b4c7c1c..3ffe948 100644 --- a/src/settings_validator.py +++ b/src/settings_validator.py @@ -34,7 +34,6 @@ class Settings(): def __init__(self) -> None: try: - print("init 1") self.DB_URL = os.environ["DB_URL"] self.DB_NAME = os.environ["DB_NAME"] self.DB_USERS_COLLECTION = os.environ["DB_USERS_COLLECTION"] From a91ad9315a582d677861c17f063834cb003df8b8 Mon Sep 17 00:00:00 2001 From: ablogo Date: Sat, 22 Aug 2026 18:56:08 +0900 Subject: [PATCH 2/2] update version --- src/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__init__.py b/src/__init__.py index fcd51d6..10f3f45 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -1,2 +1,2 @@ "Authentication microservice, the goal of this project is to learn Python and FastApi" -__version__= "1.0.0" \ No newline at end of file +__version__= "1.0.1" \ No newline at end of file