wikijs-fork/server
Maximilian Bosch b345375477
fix(auth): SAML authnContext parameter should be an array (#5290)
* saml auth: `authnContext` must be a list now

This fixes

    this.options.authnContext.forEach is not a function

when trying to login via SAML on wiki-js 2.5.281.

Reason for that is that `authnContext` must be a list now which is
apparently a breaking change that was missed while upgrading
passport-saml[1].

Resolves #5289

[1] https://github.com/node-saml/passport-saml/pull/615

* fix(auth): split authnContext for SAML authenticaiton module

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2022-05-14 21:17:17 -04:00
..
app fix(logging): add default fallback for logFormat config 2022-02-18 19:57:15 -05:00
controllers fix: default comment provider not displaying 2022-04-29 19:36:47 -04:00
core feat: add X-Mailer header to outgoing emails (#5238) 2022-04-29 19:00:52 -04:00
db fix: force lowercase for email on local auth 2020-09-09 19:59:46 -04:00
graph fix: prevent manage system assignment from manage groups permission 2022-05-09 21:36:13 -04:00
helpers feat(config): add option to specify default value to env var expansion (#5020) 2022-02-18 19:56:02 -05:00
jobs fix: sanitize SVG uploads 2021-12-17 21:41:38 -05:00
locales feat: load dev locale files 2019-02-09 12:34:27 -05:00
middlewares fix: remove unused middleware 2021-09-11 21:02:53 -04:00
models fix: undefined author in git commit when deleting a page (#5215) 2022-04-30 23:26:06 -04:00
modules fix(auth): SAML authnContext parameter should be an array (#5290) 2022-05-14 21:17:17 -04:00
templates feat: password reset 2020-08-30 21:46:55 -04:00
test/helpers refactor: server code (#2545) 2020-10-14 11:16:27 -04:00
themes/default feat: admin edit user (wip) 2019-08-11 23:26:29 -04:00
views feat: convert page 2021-04-02 00:39:11 -04:00
index.js fix: graceful shutdown (#3821) 2021-04-12 11:45:33 -04:00
master.js fix: use body parser limit config with fallback value (#4985) 2022-02-11 23:42:28 -05:00
setup.js fix: admin email setup toLowerCase (#4516) 2021-09-29 20:41:04 -04:00