forked from ICS-MU/pam_oauth2_device
-
Notifications
You must be signed in to change notification settings - Fork 5
/
config_template.json
52 lines (52 loc) · 1.19 KB
/
config_template.json
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
{
"oauth": {
"client": {
"id": "client_id",
"secret": "client_secret"
},
"scope": "openid profile",
"device_endpoint":"https://provider.com/devicecode",
"token_endpoint": "https://provider.com/token",
"userinfo_endpoint": "https://provider.com/userinfo",
"username_attribute": "preferred_username",
"local_username_suffix": ""
},
"tls": {
"ca_path": "/etc/pki/certificates"
},
"ldap": {
"host": "ldaps://ldap-server:636",
"basedn": "basedn",
"user": "user",
"passwd": "password",
"filter": "(&(objectClass=user)(fedid=%s))",
"attr": "uid"
},
"qr": {
"error_correction_level": 0
},
"group": {
"access": true,
"service_name": "stfc-cloud-prod"
},
"cloud": {
"endpoint": "http://host-172-16-114-198.nubes.stfc.ac.uk",
"username": "root",
"access": false,
"metadata_file": "metadata.json"
},
"users": {
"*bypass*":
[
"root"
],
"provider_user_id_1":
[
"bob"
],
"provider_user_id_2":
[
"mike"
]
}
}