wikijs-fork/server/modules/authentication/saml
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
..
authentication.js fix(auth): SAML authnContext parameter should be an array (#5290) 2022-05-14 21:17:17 -04:00
definition.yml fix: update saml strategy to use new config options 2022-05-02 00:18:19 -04:00