Skip to content

[$375] [HOLD for payment 2024-08-01] [Wave Collect] [Xero] Add 2FA requirement in Authorization flow #43015

Closed

Description

@francoisl

Problem

In order to remain compliant with Xero's third-party app requirements, we need to force workspace admins to enable 2FA before they can use the connection.

Additional internal context

Solution

  • For new connections:

    • Before starting the OAuth flow, make sure the admin has 2FA enabled. If they don't, show the 2FA enablement page. After they finish setting it up, automatically resume the Xero auth flow.
    • See mockups in this comment below
  • For existing connections:

    • If a user signs in and they're admin on a workspace that is connected to Xero but don't have 2FA enabled, show them the 2FA setup steps upon signing in
    • See mockups from this comment

cc @lakchote @zanyrenney

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01f129776196b2ac5f
  • Upwork Job ID: 1821257266596661328
  • Last Price Increase: 2024-08-07

Activity

  1. added
    Weekly
    Internal
    NewFeature
    on Jun 3, 2024
  2. self-assigned this
    on Jun 3, 2024
  3. melvin-bot commented on Jun 3, 2024

    @melvin-bot

    Triggered auto assignment to @sakluger (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

  4. melvin-bot commented on Jun 3, 2024

    @melvin-bot

    ⚠️ It looks like this issue is labelled as a New Feature but not tied to any GitHub Project. Keep in mind that all new features should be tied to GitHub Projects in order to properly track external CAP software time ⚠️

  5. melvin-bot commented on Jun 3, 2024

    @melvin-bot

    Triggered auto assignment to Design team member for new feature review - @dannymcclain (NewFeature)

  6. francoisl commented on Jun 3, 2024

    @francoisl
    ContributorAuthor

    I'll add a few mockups when I have edit access to Figma again.

  7. dannymcclain commented on Jun 4, 2024

    @dannymcclain
    Contributor

    @francoisl let me know if you need me to mock anything up or take care of anything in Figma! 🤝

  8. francoisl commented on Jun 4, 2024

    @francoisl
    ContributorAuthor

    Thanks. I got an email from Figma saying that Jon gave me edit access but I still can't seem to edit anything.

    Basically I was trying to edit the Initial Setup part of the Xero mockups and add the 2FA flow in between. I was thinking of making two variations:

    • one where we show the Two-factor authentication flow directly after you click Set up
    • one with an intermediary modal with additional context, with text like "To connect to Xero, please enable Two-factor authentication first [Continue]"
  9. dannymcclain commented on Jun 4, 2024

    @dannymcclain
    Contributor

    Super weird. I see that you were upgraded yesterday, but when I went into the file it still said you were requesting access (I gave it to you). I wonder if that file just hadn't been refreshed or something since Jon upgraded you. Anyways, try it again if you want, or I'm happy to do some jammin'.

  10. dannymcclain commented on Jun 5, 2024

    @dannymcclain
    Contributor

    Added a little flow here in Figma.

    I think it's better to tell people "Hey you need to enable 2fa to use xero" so I like including the intermediary modal.

    image

  11. francoisl commented on Jun 10, 2024

    @francoisl
    ContributorAuthor

    That's great, thanks Danny!

    Looks like I was wrong about the sign-in flow and <ValidateLoginPage> doesn't do what I expected, so we'll also need to make some changes to make people enable 2FA when they sign in. I'm thinking we add an extra step after entering the magic code. Here's a rough draft - Figma here:

    image

    I changed the text description, but we can also make it more generic to accommodate the case when people sign in and they need to enable 2FA because they're on a domain group with that requirement.

  12. 56 remaining items

  13. sakluger commented on Aug 7, 2024

    @sakluger
    Contributor

    Sorry about that! I missed it because it wasn't automatically moved to Daily.

    I chatted with @francoisl via DM to figure out what was going on here. We won't penalize for regressions here because the app was already unusable if you were an admin on a Xero workspace prior to the first PR.

    Regarding price, we both thought that $500 was a bit high, but given the trickiness, we'll pay $375 - a bit more than the standard $250.

  14. added
    External
    and removed
    Internal
    on Aug 7, 2024
  15. melvin-bot commented on Aug 7, 2024

    @melvin-bot
  16. changed the title [-][HOLD for payment 2024-08-01] [HOLD for payment 2024-07-25] [Wave Collect] [Xero] Add 2FA requirement in Authorization flow[/-] [+][$250] [HOLD for payment 2024-08-01] [HOLD for payment 2024-07-25] [Wave Collect] [Xero] Add 2FA requirement in Authorization flow[/+] on Aug 7, 2024
  17. added
    Help Wanted
    on Aug 7, 2024
  18. melvin-bot commented on Aug 7, 2024

    @melvin-bot

    Current assignees @rushatgabhane and @c3024 are eligible for the External assigner, not assigning anyone new.

  19. changed the title [-][$250] [HOLD for payment 2024-08-01] [HOLD for payment 2024-07-25] [Wave Collect] [Xero] Add 2FA requirement in Authorization flow[/-] [+][$375] [HOLD for payment 2024-08-01] [HOLD for payment 2024-07-25] [Wave Collect] [Xero] Add 2FA requirement in Authorization flow[/+] on Aug 7, 2024
  20. melvin-bot commented on Aug 7, 2024

    @melvin-bot

    Upwork job price has been updated to $375

  21. changed the title [-][$375] [HOLD for payment 2024-08-01] [HOLD for payment 2024-07-25] [Wave Collect] [Xero] Add 2FA requirement in Authorization flow[/-] [+][$375] [HOLD for payment 2024-08-01] [Wave Collect] [Xero] Add 2FA requirement in Authorization flow[/+] on Aug 7, 2024
  22. sakluger commented on Aug 7, 2024

    @sakluger
    Contributor

    @JmillsExpensify the payment summary is ready: #43015 (comment)

  23. JmillsExpensify commented on Aug 7, 2024

    @JmillsExpensify
    Contributor

    $375 approved for @rushatgabhane

  24. sakluger commented on Aug 9, 2024

    @sakluger
    Contributor

    I completed the payment to @c3024 via Upwork.

  25. moved this from Release 2: Summer 2024 (Aug) to Done in [#whatsnext] #wave-collecton Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentDailyExternalHelp WantedNewFeature

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions