forked from ondrejvelisek/pam_oauth2_device
-
Notifications
You must be signed in to change notification settings - Fork 13
/
config_template.json
39 lines (39 loc) · 989 Bytes
/
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
{
"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",
"require_mfa": false
},
"ldap": {
"hosts": [
"ldaps://ldap-server1:636",
"ldaps://ldap-server2:636",
"ldaps://ldap-server3:636"
],
"basedn": "basedn",
"user": "user",
"passwd": "password",
"filter": "(&(objectClass=user)(fedid=%s))",
"attr": "uid"
},
"qr": {
"show": true,
"error_correction_level": 0
},
"users": {
"provider_user_id_1": [
"root",
"bob"
],
"provider_user_id_2": [
"mike"
]
}
}