Skip to content

Fix the TOTP reset link to properly redirect back to itself upon logging in #167

@ccostino

Description

@ccostino

In order to provide a better customer experience when resetting TOTP, we need to update the TOTP reset page to properly redirect a user if they are not already logged in and are prompted to login first.

A customer sent a support request wondering why they were being redirected to the login dashboard instead of the TOTP reset link; the login page doesn't properly take you back to the TOTP reset in this case, nor is there an option to get to it from the login or accounts dashboards. Perhaps we should add links to it on one of those pages as well.

Acceptance Criteria

  • GIVEN a customer tries to reset TOTP by going directly to the TOTP reset page
    AND is not already logged in
    WHEN the customer logs in successfully
    THEN they are redirected to the reset TOTP page directly.
  • GIVEN a customer would like to reset their TOTP
    AND is already logged in
    WHEN the customer goes to the login or accounts dashboard
    THEN they are given an additional option/link to go to the TOTP reset page

Security considerations

None - this is public information and customer-facing functionality

Implementation sketch

  • Fix the login redirect when being prompted to login after going to TOTP reset page
  • Add an option/link to the TOTP reset page to the login and/or accounts dashboard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions