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>
26 lines
715 B
JSON
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"
|
|
}
|
|
}
|