Skip to content

Commit 15de231

Browse files
committed
refactor: adds jwt algorithm as a variable
1 parent 5818b78 commit 15de231

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/labs/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class Config(BaseSettings):
4141
# Secrets that the application requires for session
4242
# and cross domain checking
4343
JWT_SECRET_KEY: SecretStr
44+
JWT_ALGORITHM: str = "HS256"
4445
ACCESS_TOKEN_EXPIRE_MINUTES: int = 30
4546

4647
# SMTP and SMS related configuration

0 commit comments

Comments
 (0)