implements firebase ID tokens

This commit is contained in:
msramalho
2025-02-24 17:17:19 +00:00
parent 7f28f97815
commit 7170337542
5 changed files with 432 additions and 20 deletions

View File

@@ -27,6 +27,8 @@ class Settings(BaseSettings):
ALLOWED_ORIGINS: Annotated[Set[str], Len(min_length=1)]
CHROME_APP_IDS: Annotated[Set[Annotated[str, Len(min_length=10)]], Len(min_length=1)]
BLOCKED_EMAILS: Annotated[Set[str], Len(min_length=0)] = set()
# if not provided only OAUTH access_tokens are allowed
FIREBASE_SERVICE_ACCOUNT_JSON: str = ""
# redis
REDIS_PASSWORD: str = ""