2015-08-18 05:57:27 +05:30
|
|
|
[
|
|
|
|
{
|
|
|
|
"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 23:50:13 +05:30
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "github",
|
|
|
|
"id": "github",
|
|
|
|
"clientID": "${CLIENT_ID}",
|
|
|
|
"clientSecret": "${CLIENT_SECRET}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "bitbucket",
|
|
|
|
"id": "bitbucket",
|
|
|
|
"clientID": "${CLIENT_ID}",
|
|
|
|
"clientSecret": "${CLIENT_SECRET}"
|
2015-11-11 01:08:40 +05:30
|
|
|
},
|
|
|
|
{
|
|
|
|
"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-18 05:57:27 +05:30
|
|
|
}
|
|
|
|
]
|