You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
501 B

# Constants for PyMongo
MONGODB_URL = "mongodb://localhost:27017/"
MONGODB_USERNAME = "mongoadmin"
MONGODB_PASSWORD = "secret"
MONGODB_DATABASE = "memorymap"
# Constants for JWT
SECRET_KEY = "_2YfT44$xF.Tg_xI63UH3D7:N+>pZN2';j%>7H@?e0:Xor'pV[" # temporary of course :)
ALGORITHM = "HS256" # TODO: check if broken (don't believe)
ACCESS_TOKEN_EXPIRE_MINUTES = 30 # TODO: check what to add here / maybe need to evaluate criticity of that?
# Constants for OAuth2
TOKEN_URL = "login" # Path to the auth