SSO / app /core /config.py
Hammad712's picture
Added SSO Backend Functionality
8393a26
raw
history blame contribute delete
356 Bytes
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
PROJECT_NAME: str = "FastAPI SSO"
SECRET_KEY: str
# Microsoft SSO Config
MS_CLIENT_ID: str
MS_CLIENT_SECRET: str
MS_TENANT_ID: str
MS_REDIRECT_URI: str
class Config:
env_file = ".env"
case_sensitive = True
settings = Settings()