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

[stable25] feat: Close sessions created for login flow v2 #51084

Merged
merged 4 commits into from
Mar 3, 2025

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Feb 27, 2025

Backport of #51051

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot bot added bug 3. to review Waiting for reviews php Pull requests that update Php code labels Feb 27, 2025
@artonge artonge force-pushed the backport/51051/stable25 branch 2 times, most recently from 171eafa to a43b9ed Compare March 3, 2025 10:41
@artonge artonge force-pushed the backport/51051/stable25 branch from 0177d60 to 5c54d8b Compare March 3, 2025 10:51
@artonge artonge marked this pull request as ready for review March 3, 2025 10:54
@artonge artonge force-pushed the backport/51051/stable25 branch 2 times, most recently from f9fa4c9 to 5caaabe Compare March 3, 2025 12:06
Sessions created during the login flow v2 should be short lived to not leave an unexpected opened session in the browser.

This commit add a property to the session object to track its origin, and will close it as soon as possible, i.e., on the first non public page request.

Signed-off-by: Louis Chemineau <louis@chmn.me>
@artonge artonge force-pushed the backport/51051/stable25 branch 2 times, most recently from f8f3acb to 7cc0e55 Compare March 3, 2025 13:42
Signed-off-by: Louis Chemineau <louis@chmn.me>
@artonge artonge force-pushed the backport/51051/stable25 branch from 97e146f to 2551cc7 Compare March 3, 2025 14:07
Signed-off-by: Louis Chemineau <louis@chmn.me>
@artonge artonge force-pushed the backport/51051/stable25 branch from 2551cc7 to 3c010c5 Compare March 3, 2025 15:13
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@AndyScherzinger AndyScherzinger force-pushed the backport/51051/stable25 branch from 3997ec7 to 261fe81 Compare March 3, 2025 16:21
@AndyScherzinger AndyScherzinger merged commit c412cf8 into stable25 Mar 3, 2025
32 of 34 checks passed
@AndyScherzinger AndyScherzinger deleted the backport/51051/stable25 branch March 3, 2025 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants