Files
leeexinandClaude Opus 4.6 ae478755be feat(auth,admin): add LinuxDO OAuth login and admin settings
Implement LinuxDO OAuth authorization-code login flow with state validation and local account binding, and add admin APIs/UI to manage OAuth runtime settings with URL validation and secret masking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 13:14:46 +08:00

26 lines
715 B
JSON

{
"secret_key": "echo-tavern-dev-secret",
"db_path": "echo_tavern.db",
"deepseek_api_key": "",
"deepseek_base_url": "https://api.deepseek.com",
"deepseek_model": "deepseek-chat",
"deepseek_timeout": 25,
"deepseek_connect_timeout": 8,
"deepseek_read_timeout": 90,
"deepseek_retries": 2,
"max_room_players": 8,
"max_action_length": 280,
"app_host": "0.0.0.0",
"app_port": 8095,
"debug": true,
"linuxdo_oauth": {
"enabled": false,
"client_id": "",
"client_secret": "",
"authorize_url": "https://connect.linux.do/oauth2/authorize",
"token_url": "https://connect.linux.do/oauth2/token",
"userinfo_url": "https://connect.linux.do/api/user",
"scope": "read"
}
}