Fix supportal SAML redirect#95270
Conversation
|
cc @mountiny I'm not sure if C+ can setup SAML and supportal |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c4e1b4117f
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
mountiny
left a comment
There was a problem hiding this comment.
I dont think they can, I think this looks nice and safe and we can test in staging with internalQA
|
🚧 mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
@mountiny looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
This was not Emergency the actions were green |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.4.28-0 🚀
|
|
🤖 No help site changes required. I reviewed the changes in this PR against the help site files under Why: This PR is an internal-only fix. It adds a condition so that Supportal sessions (the Expensify employee support-login tool) skip the customer's SAML redirect in
Since the change is scoped entirely to the internal support-session code path, there is nothing to add or correct in the help site, so I did not open a docs PR. @hungvu193, please confirm you agree that no help site changes are required. If you think a customer-facing article should be updated, let me know and I'll open a draft help site PR. |
|
Tested and worked well |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.4.28-2 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Currently, if a user logs in with SAML, we always redirect them to login page without checking if that's supportal session or not:
App/src/libs/Reauthentication.ts
Lines 178 to 183 in fec6b33
In this PR, we fix that by adding a condition to allow supportal session to skip login with SAML account.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/655776
PROPOSAL: N/A
Tests
Same as QA
Offline tests
N/A
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)Avatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
MacOS: Chrome / Safari
Screen.Recording.2026-07-04.at.13.06.43.mov