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

Fix login original url redirect #445

Merged
merged 1 commit into from Feb 7, 2024

Conversation

jsetton
Copy link
Contributor

@jsetton jsetton commented Feb 7, 2024

passportjs v0.6 introduced a breaking change that no longer preserve session info by default for security reasons, preventing the session returnTo property from persisting after successfully logging in.

Property keepSessionInfo was added in order to give the option to go back to how it used to behave.

Signed-off-by: jsetton <jeremy.setton@gmail.com>
Copy link
Contributor

@digitaldan digitaldan left a comment

Choose a reason for hiding this comment

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

LGTM

@digitaldan digitaldan merged commit 9a2324b into openhab:main Feb 7, 2024
2 checks passed
@jsetton jsetton deleted the login-orig-redirect-fix branch February 7, 2024 23:34
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.

None yet

2 participants