-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfig.json.example
More file actions
77 lines (77 loc) · 2.13 KB
/
Copy pathconfig.json.example
File metadata and controls
77 lines (77 loc) · 2.13 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"instanceName": "id-core",
"logLevel": 30,
"api": {
"listenHost": "127.0.0.1",
"listenPort": "50080",
"proxy": true,
"corsAllowedOrigins": []
},
"session": {
"key": "id-session",
"maxAge": 3600000,
"signed": true,
"sameSite": "None",
"rolling": false,
"renew": true
},
"email": {
"host": "smtp.gmail.com",
"username": "INSERT_USERNAME_HERE",
"password": "INSERT_PASSWORD_HERE",
"resendLimit": 3,
"verificationEmailSubject": "id.snucse.org 이메일 인증",
"findUsernameEmailSubject": "id.snucse.org 유저명 찾기",
"passwordChangeEmailSubject": "id.snucse.org 비밀번호 변경",
"verificationEmailUrl": "https://id.snucse.org/sign-up",
"passwordChangeEmailUrl": "https://id.snucse.org/change-password"
},
"posix": {
"userGroupName": "cseusers",
"userGroupGid": 101132,
"sudoerGroupName": "csesudoers",
"sudoerGroupGid": 100600,
"defaultShell": "/bin/bash",
"minUid": 100000,
"homeDirectoryPrefix": "/csehome"
},
"postgresql": {
"host": "127.0.0.1",
"port": 5432,
"user": "id",
"password": "INSERT_PASSWORD_HERE",
"database": "id"
},
"permissions": {
"snucse": [1]
},
"google": {
"clientId": "INSERT_GOOGLE_CLIENT_ID",
"clientSecret": "INSERT_GOOGLE_CLIENT_SECRET",
"redirectUri": "https://id.snucse.org/api/google/callback",
"frontendUrl": "https://id.snucse.org",
"targetDepartments": ["컴퓨터공학부"],
"targetGroupIdentifier": "major"
},
"oidc": {
"issuer": "http://localhost:3000/o",
"cookieKey": "a secret signing key",
"jwks": {
"keys": [
{
"kid": "generate-your-own",
"kty": "EC",
"crv": "P-384",
"alg": "ES384",
"x": "fTVY4CFPpz-9Js2qf0VphY0AZZ5Arlv0FXb46f-FYcObx5qKGEM5YesjBXhrH5Jv",
"y": "eiHS3n7XXuTmjwlMRjypWlBWKx4JtIwpjG-84tLR-sIex7NXnokS_cA-efBm796i",
"d": "gxkV5CWl_LgFU_sEBu0KfAopEHCuIGrPPK9Vv-cQH_JSxIII5JJxx-9I_Bt0W_f9",
"key_ops": ["sign"]
}
]
},
"devInteractions": false,
"deviceFlow": false,
"revocation": false
}
}