* Determines whether the given request is a logout request
(req)
| 319 | * Determines whether the given request is a logout request |
| 320 | */ |
| 321 | function isLogoutRequest (req) { |
| 322 | // TODO: this is a hack that hard-codes OIDC paths, |
| 323 | // this code should live in the OIDC module |
| 324 | return req.path === '/logout' || req.path === '/goodbye' |
| 325 | } |
| 326 | |
| 327 | /** |
| 328 | * Sets up authentication-related routes and handlers for the app. |