Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

saml auth: authnContext must be a list now #5290

Merged
merged 2 commits into from
May 15, 2022
Merged

Conversation

Ma27
Copy link
Contributor

@Ma27 Ma27 commented May 14, 2022

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] node-saml/passport-saml#615

cc @NGPixel

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 requarks#5289

[1] node-saml/passport-saml#615
@NGPixel NGPixel merged commit b345375 into requarks:main May 15, 2022
@Ma27 Ma27 deleted the fix-saml branch May 15, 2022 05:44
NGPixel added a commit that referenced this pull request May 20, 2022
* 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] node-saml/passport-saml#615

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

Co-authored-by: Nicolas Giard <[email protected]>
jionggyu pushed a commit to jionggyu/wiki-2.5.302-patch that referenced this pull request Jul 9, 2024
)

* 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 requarks#5289

[1] node-saml/passport-saml#615

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

Co-authored-by: Nicolas Giard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants