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

Upgrade passport saml to 5.x #8379

Closed
aHenryJard opened this issue Sep 17, 2024 · 6 comments · Fixed by #8657
Closed

Upgrade passport saml to 5.x #8379

aHenryJard opened this issue Sep 17, 2024 · 6 comments · Fixed by #8657
Assignees
Labels
bug use for describing something not working as expected dependencies use for pull requests that update a dependency file solved use to identify issue that has been solved (must be linked to the solving PR) technical improvement Technical refactor or improvement is needed
Milestone

Comments

@aHenryJard
Copy link
Member

aHenryJard commented Sep 17, 2024

Description

Despite green CI upgrade to 0.9.2 is breaking at least SAML authentication. Some code changes are required for upgrade.

see b35c33c

Error message is

"errorHandler object is no longer supported, switch to onError!"

Passport saml is related see #8064

Environment

  1. OS (where OpenCTI server runs): { e.g. Mac OS 10, Windows 10, Ubuntu 16.4, etc. }
  2. OpenCTI version: { e.g. OpenCTI 1.0.2 }
  3. OpenCTI client: { e.g. frontend or python }
  4. Other environment details:

SAML Authentication at least.

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. { e.g. Run ... }
  2. { e.g. Click ... }
  3. { e.g. Error ... }

Expected Output

Actual Output

Additional information

Screenshots (optional)

@aHenryJard aHenryJard added bug use for describing something not working as expected needs triage use to identify issue needing triage from Filigran Product team labels Sep 17, 2024
@SamuelHassine
Copy link
Member

@aHenryJard This one can help I think: #8064.

@aHenryJard
Copy link
Member Author

@aHenryJard This one can help I think: #8064.

Yes I think that we need to do both at the same time.

@romain-filigran romain-filigran removed the needs triage use to identify issue needing triage from Filigran Product team label Sep 18, 2024
@romain-filigran romain-filigran added this to the Bugs backlog milestone Sep 18, 2024
@aHenryJard aHenryJard added the technical improvement Technical refactor or improvement is needed label Sep 30, 2024
@aHenryJard aHenryJard changed the title Upgrade @xmldom/xmldom from 0.8.10 to 0.9.2 Upgrade @xmldom/xmldom from 0.8.10 to 0.9.2 and passport saml to 5.x Sep 30, 2024
@aHenryJard aHenryJard self-assigned this Oct 14, 2024
@aHenryJard aHenryJard added the dependencies use for pull requests that update a dependency file label Oct 14, 2024
@aHenryJard
Copy link
Member Author

update: actually updating passport-saml to 5.0.0 is not enough, @nodesaml/nodesaml 5.0.0 is still not compatible with @xmldom/xmldom 0.9.+. Need to stick on 0.8.10 for now.

@aHenryJard aHenryJard added the solved use to identify issue that has been solved (must be linked to the solving PR) label Oct 16, 2024
@aHenryJard
Copy link
Member Author

aHenryJard commented Oct 16, 2024

Merged on 6.4 release branch for passport-saml 5, xmldom still must be done be can't in current version of passport-saml

@aHenryJard aHenryJard changed the title Upgrade @xmldom/xmldom from 0.8.10 to 0.9.2 and passport saml to 5.x Upgrade passport saml to 5.x Oct 18, 2024
@nino-filigran
Copy link

@aHenryJard So can we close the ticket?

@aHenryJard
Copy link
Member Author

@nino-filigran it's on 6.4 release branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug use for describing something not working as expected dependencies use for pull requests that update a dependency file solved use to identify issue that has been solved (must be linked to the solving PR) technical improvement Technical refactor or improvement is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants