etherpad-lite/src/node/hooks/express
Richard Hansen d3984aa621 express: Move preAuthorize hook after express-session
The `ep_openid_connect` plugin needs access to session state before
authorization checks are made (to securely redirect the user back to
the start page when authentication completes). Now that the
`expressPreSession` hook exists, the rationale for moving
`preAuthorize` before the `express-session` middleware is gone.

This change undoes the following commits:
  * bf35dcfc50
  * 0b1ec20c5c
  * 30544b564e
2022-01-14 00:44:54 -05:00
..
admin.js lint: src/node/hooks/express/admin.js 2021-01-25 22:53:10 -05:00
adminplugins.js pluginfw: Improve rendering of hook list 2021-03-03 11:19:37 +00:00
adminsettings.js adminsettings: Pay attention to --settings 2021-11-12 23:45:05 -05:00
apicalls.js express: Move static handlers to expressPreSession 2021-12-20 20:08:19 -05:00
errorhandling.js lint: src/node/hooks/express/errorhandling.js 2021-01-25 22:53:10 -05:00
importexport.js import/export: On export error return 500 instead of crashing 2021-03-18 09:02:28 +00:00
openapi.js openapi: Convert Promise.catch() to catch block 2022-01-02 19:17:20 -05:00
padurlsanitize.js padurlsanitize: Don't crash if sanitizePadId() throws 2021-12-18 18:47:01 -05:00
socketio.js security: New setting for Socket.IO maxHttpBufferSize 2021-02-15 12:45:31 -05:00
specialpages.js specialpages: New /health endpoint for health checking 2021-12-21 17:19:56 -05:00
static.js express: Move static handlers to expressPreSession 2021-12-20 20:08:19 -05:00
tests.js express: Move static handlers to expressPreSession 2021-12-20 20:08:19 -05:00
webaccess.js express: Move preAuthorize hook after express-session 2022-01-14 00:44:54 -05:00