forked from ECNU/Open-OAuth2Playground
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcfg-docker.json
More file actions
26 lines (26 loc) · 714 Bytes
/
cfg-docker.json
File metadata and controls
26 lines (26 loc) · 714 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"logger": {
"dir": "logs/",
"level": "DEBUG",
"keepHours": 24
},
"endpoints": {
"authorization": "http://localhost/oauth2/authorize",
"token": "http://oauth-server-lite/oauth2/token",
"userinfo": "http://oauth-server-lite/oauth2/userinfo",
"device_authorization": "http://oauth-server-lite/oauth2/device/authorize"
},
"iplimit": {
"enable": false,
"trust_ip": ["127.0.0.1", "::1"]
},
"http": {
"route_base":"/",
"trust_proxy": ["127.0.0.1", "::1"],
"cors": ["http://127.0.0.1","http://localhost"],
"listen": "0.0.0.0:8080"
},
"trust_domain": ["api.ecnu.edu.cn", "localhost", "oauth-server-lite"],
"default_scope": "Basic",
"timeout": 10
}