SAML; Dashboard

This commit is contained in:
garrettmills
2020-05-03 20:16:54 -05:00
parent e3ecfb0d37
commit c389e151b5
1778 changed files with 148410 additions and 82 deletions

View File

@@ -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'],
},

View File

@@ -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
View 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