29 lines
No EOL
685 B
Text
29 lines
No EOL
685 B
Text
# Mock API Configuration
|
|
# Generated on test
|
|
|
|
# Database Configuration
|
|
DATABASE_URL=sqlite+aiosqlite:///./mockapi.db
|
|
|
|
# Admin Authentication
|
|
ADMIN_USERNAME=admin
|
|
ADMIN_PASSWORD=admin123
|
|
|
|
# Security
|
|
SECRET_KEY=testsecretkey
|
|
|
|
# Application Settings
|
|
DEBUG=False
|
|
LOG_LEVEL=INFO
|
|
|
|
# OAuth2 Settings
|
|
OAUTH2_ISSUER=http://localhost:8000
|
|
OAUTH2_ACCESS_TOKEN_EXPIRE_MINUTES=30
|
|
OAUTH2_REFRESH_TOKEN_EXPIRE_DAYS=7
|
|
OAUTH2_AUTHORIZATION_CODE_EXPIRE_MINUTES=10
|
|
OAUTH2_SUPPORTED_GRANT_TYPES=["authorization_code", "client_credentials", "refresh_token"]
|
|
OAUTH2_SUPPORTED_SCOPES=["openid", "profile", "email", "api:read", "api:write"]
|
|
OAUTH2_PKCE_REQUIRED=false
|
|
|
|
# Server Settings
|
|
HOST=0.0.0.0
|
|
PORT=8000 |