| 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() |