You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
691 B
32 lines
691 B
4 years ago
|
const saml_routes = {
|
||
|
prefix: '/saml',
|
||
|
|
||
|
middleware: [
|
||
|
|
||
|
],
|
||
|
|
||
|
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
|