Skip to content

iOS - QBD - The user isn't logged into OD after tapping on the link to fix the connection #49386

Closed

Description

@IuliiaHerets

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.0.37-0
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Issue was found when executing this PR: #48759
Issue reported by: Applause Internal Team

Action Performed:

  1. ND on web: Navigate to https://staging.new.expensify.com/
  2. ND on web: Log in with a new Gmail account
  3. ND on web: Create a workspace
  4. ND on web: Navigate to OD by clicking on Account settings - Domains
  5. OD on web: Navigate to Settings - Workspaces - "Created workspace name" - Connections
  6. OD on web: Upgrade the WS to Collect with the lock icon next to "QuickBooks Desktop"
  7. OD on web: Click on QuickBooks Desktop - Connect to QuickBooks Desktop - Connect to QuickBooks Desktop
  8. OD on web: Attempt to connect to QuickBooks Desktop (the connection will fail)
  9. iOS: Log off from OD on your default web browser
  10. ND on IOS: Log in with the Gmail account used in steps 1-8
  11. ND on iOS: Navigate to Account settings - Workspaces - "Created workspace name" - Accounting
  12. ND on iOS: Tap on the link that takes you to OD

Expected Result:

The user should be logged into OD and be taken to the page with the issue.

Actual Result:

The user isn't logged into OD after tapping on the link to fix the connection issue. OD is logged in on Android and Mac.

Workaround:

Unknown

Platforms:

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6607373_1726662283056.RKNZ2190.mp4

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCash
    Bug
    on Sep 18, 2024
  2. melvin-bot commented on Sep 18, 2024

    @melvin-bot

    Triggered auto assignment to @arosiclair (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  3. melvin-bot commented on Sep 18, 2024

    @melvin-bot

    Triggered auto assignment to @dylanexpensify (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.

  4. github-actions commented on Sep 18, 2024

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  5. IuliiaHerets commented on Sep 18, 2024

    @IuliiaHerets
    Author

    We think that this bug might be related to #wave-collect - Release 1

  6. dylanexpensify commented on Sep 18, 2024

    @dylanexpensify
    Contributor

    reviewing

  7. dylanexpensify commented on Sep 18, 2024

    @dylanexpensify
    Contributor

    @IuliiaHerets steps 10-12 are these on iOS web or app?

  8. arosiclair commented on Sep 18, 2024

    @arosiclair
    Contributor

    This is a brand new error message we just added in #48759 so I'm leaning towards not blocking on this.

    I agree the link should sign you in automatically though. @daledah @puneetlath can you take a look?

  9. 4 remaining items

  10. puneetlath commented on Sep 18, 2024

    @puneetlath
    Contributor

    I don't think this needs to be a blocker. It's a new thing we added to make the error message more clear and we can handle making it log in on follow up. How do we do that elsewhere?

  11. added
    Daily
    and removed
    DeployBlockerCash
    Hourly
    on Sep 18, 2024
  12. arosiclair commented on Sep 18, 2024

    @arosiclair
    Contributor

    Cool just demoted. Assigning you to follow up @puneetlath.

  13. changed the title [-]iOS - QBO Desktop - The user isn't logged into OD after tapping on the link to fix the connection[/-] [+]iOS - QBD - The user isn't logged into OD after tapping on the link to fix the connection[/+] on Sep 18, 2024
  14. daledah commented on Sep 18, 2024

    @daledah
    Contributor

    @puneetlath @arosiclair I ran some tests, and it looks like OD doesn't handle policy url with params that has brackets very well on mobile webs.

    Here are some tests with different Link.openOldDotLink inputs:

    1. policy?param={"policyID":"${policyID}"}#connections is redirected to:

    https://www.expensify.com/?exitTo=policy?param={"policyID":"DF85C34B7C2DA40D"}&authToken=(authToken)&email=daledah2611+qbd@gmail.com&email=#connections

    1. policy?param={"policyID":"${policyID}"} is redirected to:

    https://www.expensify.com/?exitTo=policy?param={"policyID":"DF85C34B7C2DA40D"}&authToken=(authToken)&email=daledah2611+qbd@gmail.com&email=

    Note that in the these two cases, there are a redundant email= query param, which is what I think is the reason why user is not logged in.

    1. policy is redirected to:

    https://www.expensify.com/admin_policies?param={%22section%22:%22group%22}

    The third case works well and user is logged in.

  15. IuliiaHerets commented on Sep 18, 2024

    @IuliiaHerets
    Author

    @dylanexpensify I believe that you used nit a latest build, it is a new feature, so this error message available only on the build 37-0 and higher.
    10-12 steps - it is iOS.

  16. puneetlath commented on Sep 20, 2024

    @puneetlath
    Contributor

    I don't think we really expect policy editing on OldDot to work well on mobile well, so I feel like we should just close this. Please comment or reopen if you disagree.

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

Metadata

Metadata

Labels

BugDaily

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions