text: const passport = require('passport');
  const router = require('express').Router();
  
  router.post(
    '/login/callback',
    passport.authenticate('saml', {
      failureRedirect: '/',
      failureFlash: true
    }),
    function(req, res) {
      res.redirect('/');
    }
  );
  
  router.get(
    '/auth/saml',
    passport.authenticate('saml', {
      failureRedirect: '/',
      failureFlash: true
    }),
    function(req, res) {
      res.redirect('/');
    }
  );
  
  module.exports = router;
  