fix oauth

This commit is contained in:
knst-kotov
2021-11-10 16:46:16 +03:00
parent 7f54db8939
commit e84133364b
3 changed files with 20 additions and 16 deletions

View File

@@ -3,7 +3,8 @@ from os import environ
PORT = 8080
BACKEND_URL = "https://localhost:8080"
BACKEND_URL = environ.get("BACKEND_URL") or "https://localhost:8080"
OAUTH_CALLBACK_URL = environ.get("OAUTH_CALLBACK_URL") or "https://localhost:8080/authorized"
DB_URL = environ.get("DATABASE_URL") or environ.get("DB_URL") or "sqlite:///db.sqlite3"
JWT_ALGORITHM = "HS256"