Refactor added saving auth token to redis when successfully logged in

This commit is contained in:
PB
2025-10-20 19:58:14 +02:00
parent 52fc66e7a9
commit 50b2127bd7
8 changed files with 74 additions and 26 deletions

View File

@@ -13,3 +13,4 @@ API_MONGODB_URL=mongodb://mongodb:12345678@mongo-db:27017
# EVENTBUS_URL=amqp://guest:guest@api-eventbus:5672
JWT_SECRET_KEY=SomeFancySecretAndRandomString
JWT_TOKEN_EXPIRE_TIME=1 # hours