Skip to content

PP-14951 upgrade passport with express-sessions#2001

Merged
hjvoid merged 1 commit intomasterfrom
PP-14951_upgrade_passport_with_express_session
Apr 14, 2026
Merged

PP-14951 upgrade passport with express-sessions#2001
hjvoid merged 1 commit intomasterfrom
PP-14951_upgrade_passport_with_express_session

Conversation

@hjvoid
Copy link
Copy Markdown
Contributor

@hjvoid hjvoid commented Apr 14, 2026

Passport is the authentication middleware we use to manage user authentication and sessions. We need to upgrade it to version 0.7.0. As a result we need to update our Passport Strategy to a different version (passport-github2) and update the passport types to keep Typescript happy.

express-sessions has also been installed instead of client-sessions for better compatibility, circumnavigating configuration shim which would otherwise be necessary to avoid errors regarding the regenerate() method we were noticing previously.

Copy link
Copy Markdown
Contributor

@SandorArpa SandorArpa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOKTM

@hjvoid hjvoid merged commit dc72c01 into master Apr 14, 2026
8 checks passed
@hjvoid hjvoid deleted the PP-14951_upgrade_passport_with_express_session branch April 14, 2026 13:25
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