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

@@ -0,0 +1,33 @@
const saml_routes = {
prefix: '/saml',
middleware: [
],
// TODO SLO
get: {
'/metadata.xml': ['controller::saml:SAML.get_metadata'],
'/sso': [
'middleware::SAMLRequest',
'middleware::auth:UserOnly',
'controller::saml:SAML.get_sso',
],
'/logout': [
'middleware::SAMLRequest',
'middleware::auth:UserOnly',
'controller::saml:SAML.get_logout',
],
},
post: {
'/logout': [
'middleware::SAMLRequest',
'middleware::auth:UserOnly',
'controller::saml:SAML.post_logout',
],
},
}
module.exports = exports = saml_routes