yuvabe-dev / src /auth /config.py
Hp137's picture
feat:Added auth service
b9669e1
raw
history blame contribute delete
284 Bytes
import os
from pydantic import BaseSettings
from dotenv import load_dotenv
class HomeSettings(BaseSettings):
FEATURE_ENABLED: bool = True
home_settings = HomeSettings()
load_dotenv()
SECRET_KEY = os.getenv("SECRET_KEY")
ALGORITHM = "HS256"
ACCESS_TOKEN_EXPIRE_MINUTES = 60