Skip to content

[$250] Login - Nothing happens when clicking Use single sign-on when logging in via public room #69354

Closed

Description

@jponikarchuk

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.1.99-5
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: #67996
Email or phone of affected tester (no customers): applausetester@applause.expensifail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.5 / Chrome
App Component: Other

Action Performed:

Precondition:

  • Enable SAML login for applause.expensifail.com domain.
  • User is not logged in to Expensify.
  1. Open public room link via deep link - https://staging.new.expensify.com/r/45330198396915
  2. Click Sign in.
  3. Enter applausetester@applause.expensifail.com
  4. Click Continue.
  5. Click Use single sign-on.

Expected Result:

Portal web view will open.

Actual Result:

Nothing happens when clicking Use single sign-on when logging in via public room.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021960948244225822855
  • Upwork Job ID: 1960948244225822855
  • Last Price Increase: 2026-01-21
Issue OwnerCurrent Issue Owner: @abdulrahuman5196

Activity

  1. added
    Daily
    Bug
    on Aug 27, 2025
  2. melvin-bot commented on Aug 27, 2025

    @melvin-bot

    Triggered auto assignment to @VictoriaExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. thelullabyy commented on Aug 27, 2025

    @thelullabyy
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Clicking Use single sign-on when logging in via a public room does nothing.

    What is the root cause of that problem?

    The SAMLSignInPage is only declared in PublicScreens, not in AuthScreens.
    As a result, when we click Use single sign-on, no navigator is available to handle the Navigation.navigate(ROUTES.SAML_SIGN_IN) action, so nothing happens.

    What changes do you think we should make in order to solve the problem?

    We should declare the SAMLSignInPage in AuthScreens as well:

    <RootStack.Screen
        name={SCREENS.SAML_SIGN_IN}
        component={SAMLSignInPage}
    />

    Improvement:
    We can also update the navigation logic here to dismiss the modal before navigating to the SAML sign-in page.

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    N/A

    What alternative solutions did you explore? (Optional)

    N/A

  4. VictoriaExpensify commented on Aug 28, 2025

    @VictoriaExpensify
    Contributor

    Yeah let's fix that one!

  5. added
    External
    on Aug 28, 2025
  6. changed the title [-]Login - Nothing happens when clicking Use single sign-on when logging in via public room[/-] [+][$250] Login - Nothing happens when clicking Use single sign-on when logging in via public room[/+] on Aug 28, 2025
  7. melvin-bot commented on Aug 28, 2025

    @melvin-bot
  8. added
    Help Wanted
    on Aug 28, 2025
  9. melvin-bot commented on Aug 28, 2025

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 (External)

  10. muhammad-ali-abbasi commented on Aug 28, 2025

    @muhammad-ali-abbasi

    Problem

    Please re-state the problem that we are trying to solve in this issue.

    When users access public room deep links and attempt to log in using SAML SSO, clicking the "Use single sign-on" button does
    nothing. The button appears but is non-functional in this specific context.

    What is the root cause of that problem?

    /src/pages/signin/SAMLSignInPage/index.tsxLines: 15-18

      if (!credentials?.login) {
          handleSAMLLoginError(translate('common.error.email'), true);
          return;
      }
    

    The SAML sign-in page requires credentials?.login to be populated before proceeding. When accessing via public room deep links,
    users bypass the initial login form where this credential would normally be set, causing the SAML flow to fail immediately.

    What changes do you think we should make in order to solve the problem?

    /src/pages/signin/ChooseSSOOrMagicCode.tsxLines: 55-57

    Modify the SSO button handler to check for missing credentials and handle the public room access case:

      onPress={() => {
          if (!credentials?.login) {
              // For public room deep link access, prompt for email first
              setIsUsingMagicCode(true);
              return;
          }
          Navigation.navigate(ROUTES.SAML_SIGN_IN);
      }}
    
  11. melvin-bot commented on Sep 4, 2025

    @melvin-bot

    📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

  12. 96 remaining items

  13. melvin-bot commented on Jan 8, 2026

    @melvin-bot

    📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

  14. melvin-bot commented on Jan 8, 2026

    @melvin-bot

    @abdulrahuman5196 Huh... This is 4 days overdue. Who can take care of this?

  15. mvtglobally commented on Jan 10, 2026

    @mvtglobally

    Issue not reproducible during KI retests. (Fifth week)

  16. melvin-bot commented on Jan 12, 2026

    @melvin-bot

    @abdulrahuman5196 Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

  17. melvin-bot commented on Jan 16, 2026

    @melvin-bot

    @abdulrahuman5196 12 days overdue. Walking. Toward. The. Light...

  18. melvin-bot commented on Jan 19, 2026

    @melvin-bot

    This issue has not been updated in over 14 days. @abdulrahuman5196, @VictoriaExpensify eroding to Weekly issue.

  19. melvin-bot commented on Jan 21, 2026

    @melvin-bot

    📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

  20. mvtglobally commented on Jan 24, 2026

    @mvtglobally

    Issue not reproducible during KI retests. (6th week). Closing, please reopen if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugExternalHelp WantedWeekly

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions