SAML; Dashboard
This commit is contained in:
@@ -174,6 +174,7 @@ const auth_config = {
|
||||
// 'role_name': [ 'permission1', 'permission2' ],
|
||||
// Then, users with that role will automatically inherit the permissions.
|
||||
ldap_admin: ['ldap'],
|
||||
coreid_base: ['my:profile'],
|
||||
|
||||
},
|
||||
|
||||
|
||||
@@ -8,10 +8,15 @@ const ldap_server = {
|
||||
schema: {
|
||||
base_dc: env('LDAP_BASE_DC', 'dc=example,dc=com'),
|
||||
authentication_base: env('LDAP_AUTH_BASE', 'ou=people'),
|
||||
group_base: env('LDAP_GROUP_BASE', 'ou=groups'),
|
||||
auth: {
|
||||
user_id: 'uid',
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
format: {
|
||||
skipSpace: true,
|
||||
},
|
||||
}
|
||||
|
||||
module.exports = exports = ldap_server
|
||||
|
||||
14
config/saml.config.js
Normal file
14
config/saml.config.js
Normal file
@@ -0,0 +1,14 @@
|
||||
const saml_config = {
|
||||
provider_name: env('SAML_PROVIDER_NAME', 'http://localhost:8000/saml/metadata.xml'),
|
||||
|
||||
cert_file: {
|
||||
public: env('SAML_CERT_FILE'),
|
||||
private: env('SAML_KEY_FILE'),
|
||||
},
|
||||
|
||||
slo: {
|
||||
end_coreid_session: env('SAML_SLO_LOGOUT_ENDS_COREID_SESSION', true)
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = exports = saml_config
|
||||
Reference in New Issue
Block a user