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(auth): Fix session data loss by redirect #4483

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SISheogorath
Copy link
Contributor

Component/Part

authentication

Description

This patch should fix the broken redirect behaviour of the authentication provider where users aren't redirected back to the note they were send off, due to passport forgetting its session.

Steps

  • Added implementation
  • Added / updated tests
  • Added changelog snippet
  • I read the contribution documentation and
    made sure that:
    • My commits are signed-off to accept the DCO.
    • This PR targets the correct branch: master for 1.x & docs, develop for 2.x

Related Issue(s)

jaredhanson/passport#919

This patch should fix the broken redirect behaviour of the
authentication provider where users aren't redirected back to the note
they were send off, due to passport forgetting its session.

Reference:
jaredhanson/passport#919

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
@SISheogorath SISheogorath added the type: bug Something isn't working label Jul 19, 2023
@SISheogorath
Copy link
Contributor Author

SISheogorath commented Jul 19, 2023

Mhm, after some reading with the help of @ErikMichelson it might not be ideal to use this.

It becomes a potential security issue for shared computers (libraries, schools, …).

I guess we rather wait for the upstream fix to land:
jaredhanson/passport#941

@SISheogorath SISheogorath marked this pull request as draft July 19, 2023 22:28
@davidmehren davidmehren added this to the Version 1.x milestone Oct 7, 2023
@ErikMichelson ErikMichelson added the status: blocked by upstream Problems with dependencies. Things we have little control over or that should be fixed at the source label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: blocked by upstream Problems with dependencies. Things we have little control over or that should be fixed at the source type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants