Skip to content

Return to VerifyInfo when attempting to navigate to earlier pages#8535

Merged
soniaconnolly merged 2 commits intomainfrom
sonia-lg-9371-redirect-from-ssn
Jun 6, 2023
Merged

Return to VerifyInfo when attempting to navigate to earlier pages#8535
soniaconnolly merged 2 commits intomainfrom
sonia-lg-9371-redirect-from-ssn

Conversation

@soniaconnolly
Copy link
Contributor

@soniaconnolly soniaconnolly commented Jun 2, 2023

When navigating to earlier pages from VerifyInfo, users previously landed on the SSN page because it allows updates from VerifyInfo and it was not checking the referer. Now check the referer and redirect as appropriate.

This came up in testing for HybridHandoffController, but is not directly related to it.

Test plan:

  • Create account, start IdV
  • In DocumentCapture, upload a yaml for barcode read error (I can provide)
  • Choose to Continue
  • Enter 'valid' SSN (900-....)
  • In VerifyInfo, click on the link in the banner to redo document capture
  • Upload valid yaml or any photo
  • Expect to be redirected to VerifyInfo with "We verified your ID" success banner
  • Visit /verify/hybrid_handoff url
  • Expect to stay on VerifyInfo page

Previously, users landed on the SSN page because it allows updates from VerifyInfo
and it was not checking the referer.

[skip changelog]
@soniaconnolly soniaconnolly requested a review from a team June 2, 2023 23:21
- expect to land on VerifyInfo, not SSN
- expect success message
Copy link
Contributor

@eric-gade eric-gade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@soniaconnolly soniaconnolly merged commit 4ea3602 into main Jun 6, 2023
@soniaconnolly soniaconnolly deleted the sonia-lg-9371-redirect-from-ssn branch June 6, 2023 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants