2015-08-17 17:27:27 -07:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"type": "local",
|
|
|
|
"id": "local",
|
|
|
|
"passwordInfos": [
|
|
|
|
{
|
|
|
|
"userId":"elroy-id",
|
|
|
|
"passwordPlaintext": "bones"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"userId":"penny",
|
|
|
|
"passwordPlaintext": "kibble"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "oidc",
|
|
|
|
"id": "google",
|
|
|
|
"issuerURL": "https://accounts.google.com",
|
|
|
|
"clientID": "${CLIENT_ID}",
|
|
|
|
"clientSecret": "${CLIENT_SECRET}"
|
2015-12-08 10:20:13 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "github",
|
|
|
|
"id": "github",
|
|
|
|
"clientID": "${CLIENT_ID}",
|
|
|
|
"clientSecret": "${CLIENT_SECRET}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "bitbucket",
|
|
|
|
"id": "bitbucket",
|
|
|
|
"clientID": "${CLIENT_ID}",
|
|
|
|
"clientSecret": "${CLIENT_SECRET}"
|
2015-11-10 20:38:40 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ldap",
|
|
|
|
"id": "ldap",
|
|
|
|
"serverHost": "127.0.0.1",
|
|
|
|
"serverPort": 389,
|
|
|
|
"useTLS": true,
|
|
|
|
"useSSL": false,
|
|
|
|
"caFile": "/etc/ssl/certs/example_com_root.crt",
|
|
|
|
"skipCertVerification": false,
|
|
|
|
"baseDN": "ou=People,dc=example,dc=com",
|
|
|
|
"nameAttribute": "cn",
|
|
|
|
"emailAttribute": "mail",
|
|
|
|
"searchBeforeAuth": true,
|
|
|
|
"searchFilter": "(mail=%u)",
|
|
|
|
"searchScope": "one",
|
|
|
|
"searchBindDN": "searchuser",
|
|
|
|
"searchBindPw": "supersecret",
|
|
|
|
"bindTemplate": "uid=%u,%b"
|
2015-08-17 17:27:27 -07:00
|
|
|
}
|
|
|
|
]
|