2015-08-18 05:57:27 +05:30
|
|
|
[
|
|
|
|
{
|
|
|
|
"type": "local",
|
2016-04-05 06:35:00 +05:30
|
|
|
"id": "local"
|
2015-08-18 05:57:27 +05:30
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
2016-06-22 05:11:04 +05:30
|
|
|
"host": "127.0.0.1:389",
|
2015-11-11 01:08:40 +05:30
|
|
|
"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
|
|
|
}
|
|
|
|
]
|