Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
W
wiki-js
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 1
    • Issues 1
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Jacklull
  • wiki-js
  • Repository

Switch branch/tag
  • wiki-js
  • server
  • modules
  • authentication
  • saml
  • authentication.js
Find file
BlameHistoryPermalink
  • Maximilian Bosch's avatar
    fix(auth): SAML authnContext parameter should be an array (#5290) · b3453754
    Maximilian Bosch authored May 15, 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] https://github.com/node-saml/passport-saml/pull/615
    
    * fix(auth): split authnContext for SAML authenticaiton module
    Co-authored-by: 's avatarNicolas Giard <github@ngpixel.com>
    b3453754
authentication.js 2.12 KB
EditWeb IDE

Replace authentication.js

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.