forked from Janusec/janusec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json.bak
54 lines (54 loc) · 1.76 KB
/
config.json.bak
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"node_role": "master",
"master_node": {
"admin": {
"listen": true,
"listen_http": ":9080",
"listen_https": ":9443",
"portal": "https://your_domain.com:9443/janusec-admin/",
"webssh_enabled": false
},
"database": {
"host": "127.0.0.1",
"port": "5432",
"user": "postgres",
"password": "123456",
"dbname": "janusec"
},
"oauth": {
"enabled": false,
"provider": "wxwork",
"wxwork": {
"display_name": "Login with WeChat Work",
"callback": "http://your_domain.com/oauth/wxwork",
"corpid": "wwd03be1f8",
"agentid": "1000002",
"corpsecret": "BgZtz_hssdZV5em-AyGhOgLlm18rU_NdZI"
},
"dingtalk": {
"display_name": "Login with DingTalk",
"callback": "http://your_domain.com/oauth/dingtalk",
"appid": "dingoa8xvc",
"appsecret": "crrALdXUIj4T0zBekYh4u9sU_T1GZT"
},
"feishu": {
"display_name": "Login with Feishu",
"callback": "http://your_domain.com/oauth/feishu",
"appid": "cli_9ef21d00e",
"appsecret": "ihUBspRAG1PtNdDLUZ"
},
"ldap": {
"display_name": "Login with LDAP",
"entrance": "http://your_domain.com/ldap/login",
"address": "ldap.your_domain.com:389",
"dn":"uid={uid},ou=People,dc=janusec,dc=com",
"using_tls":false,
"authenticator_enabled": false
}
}
},
"slave_node": {
"node_key": "",
"sync_addr": "http://gateway.master_node.com:9080/janusec-admin/api"
}
}