Skip to content

[fix]: thread RelayState through SAML login to preserve redirect - #7753

Open
jamieQ wants to merge 1 commit into
getredash:masterfrom
jamieQ:saml-relay-state
Open

[fix]: thread RelayState through SAML login to preserve redirect#7753
jamieQ wants to merge 1 commit into
getredash:masterfrom
jamieQ:saml-relay-state

Conversation

@jamieQ

@jamieQ jamieQ commented Jun 12, 2026

Copy link
Copy Markdown

What type of PR is this?

  • Bug Fix

Description

When following a URL like https://redash.<corp>.net/queries/123 and having to go through a SAML auth flow, the path is dropped upon completion of the flow and you land on the redash index instead of the URL of the link you clicked. This change attempts to fix this by propagating the "RelayState" across the auth flow.

How is this tested?

  • Unit tests (pytest, jest)

I was unsure how to test this manually.

Related Tickets & Documents

N/A

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

N/A

Review in cubic

@jamieQ
jamieQ marked this pull request as ready for review June 12, 2026 20:56

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 2 files

Re-trigger cubic

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.

1 participant