Skip to content

[1.7.x] fix(frontend): preserve redirect target through SSO login (#13270) - #13276

Merged
SchrodingersGat merged 1 commit into
1.7.xfrom
backport/1.7.x/pr-13270
Nov 14, 2026
Merged

SchrodingersGat merged 1 commit into
1.7.xfrom
backport/1.7.x/pr-13270

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from master to 1.7.x:

Questions ?

Please refer to the Backport tool documentation

The redirect target set by ProtectedRoute travels in react-router state,
which does not survive the full page navigation through the identity
provider. After the SSO round trip users always landed on /home.

Forward the target through the flow as a 'next' query param on the
allauth callback URL instead, and recover it on the /logged-in page.
Falls back to /home when no valid in-app path is present.

Co-authored-by: Matthias Mair <[email protected]>
Co-authored-by: Oliver <[email protected]>
(cherry picked from commit b9b4679)
@coderabbitai

coderabbitai Bot commented Nov 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4cbdaf35-a0cc-4880-810d-00aa526e5d9b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@flakiness-io

flakiness-io Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Test Results Summary

This comment shows the latest test results for this pull request.

Commit Status Test Results CI Runs
91a6988 ✅ Passed 392 passed · 8 flaky 9 runs
⚠️ 8 flaky

⚠️ Ubuntu 24.04 · firefox src/frontend/tests/pui_importing.spec.ts:180 › Importing - Natural Keys
⚠️ Ubuntu 24.04 · firefox src/frontend/tests/pui_login.spec.ts:263 › Login - Session Persistence
⚠️ Ubuntu 24.04 · firefox src/frontend/tests/pages/pui_part.spec.ts:606 › Parts - Details
⚠️ Ubuntu 24.04 · firefox src/frontend/tests/pages/pui_part.spec.ts:1063 › Parts - Parameters
⚠️ Ubuntu 24.04 · firefox src/frontend/tests/pui_printing.spec.ts:219 › Printing - Broken Template
⚠️ Ubuntu 24.04 · firefox src/frontend/tests/pages/pui_sales.spec.ts:330 › Sales Orders - Complete Shipment
⚠️ Ubuntu 24.04 · firefox src/frontend/tests/pages/pui_stock.spec.ts:631 › Stock - Disassembly
⚠️ Ubuntu 24.04 · firefox src/frontend/tests/pages/pui_stock.spec.ts:334 › Stock - Stock Actions

View full report

ℹ️ About Flakiness.io in GitHub

Your team has set up Flakiness.io pull request comments. This comment is updated when

  • The first test results arrive for this pull request
  • A later run reports more results for the same commit
  • A new commit is pushed and tested

Flakiness.io rewrites the comment in place, so it always reflects the most recently tested commit.

@SchrodingersGat
SchrodingersGat merged commit f0c0b63 into 1.7.x Nov 14, 2026
60 of 63 checks passed
@SchrodingersGat
SchrodingersGat deleted the backport/1.7.x/pr-13270 branch November 14, 2026 07:20
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