Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LG-15337: Socure Try again page for hybrid mobile flow #11734

Merged
merged 9 commits into from
Jan 16, 2025

Conversation

solipet
Copy link
Contributor

@solipet solipet commented Jan 10, 2025

🎫 Ticket

LG-15337

🛠 Summary of changes

Socure Try again page for hybrid mobile flow

If the system times out waiting for the data from Socure, show the try again page with, if available, an option to switch to in person proofing.

Try again takes the user back to the Socure document capture page. Try in person takes the user to the beginning of the IPP flow, part of the hybrid_mobile document capture React app.

📜 Testing Plan

Setup:

  • Set the env branch to point to this PRs branch (e.g. timnit or solipet)
    • For example, using the solipet env:
git checkout dprice/lg-15337-try-again-hybrid
git pull
git checkout stages/solipet
git reset --hard dprice/lg-15337-try-again-hybrid
git push --force-with-lease
  • Set the following config vars to force a timeout on socure:
  doc_auth_vendor: socure
  doc_auth_vendor_default: socure
  doc_auth_socure_wait_polling_timeout_minutes: 0
  doc_auth_socure_job_sleep_seconds: 120
  doc_auth_socure_wait_polling_refresh_max_seconds: 10
  • Recycle the env to apply changes.
aws-vault exec sandbox-power -- bin/asg-recycle  solipet idp

Standard flow:

  • From a phone, sign in to the IDP and visit /verify to start the IdV flow
  • After using the Socure capture app, you should be directed to the Wait page
  • After 10 seconds, you should timeout and land on the Try again page
  • Click on Try in person - confirm you are on the beginning of the IPP flow
  • go back to return to the Try again page
  • Click on Try again - confirm you are on the Socure document capture page

Hybrid flow:

  • From a desktop browser, sign in to the IDP and visit /verify to start the IdV flow
  • From the hybrid handoff page, choose to continue on your phone
  • From your phone, open the link received via SMS and continue
  • After using the Socure capture app, you should be directed to the Wait page
  • After 10 seconds, you should timeout and land on the Try again page
  • Click on Try in person - confirm you are on the beginning of the IPP flow in the hybrid_mobile document_capture controller
  • go back to return to the Try again page
  • Click on Try again - confirm you are on the Socure document capture page

@gina-yamada
Copy link
Contributor

gina-yamada commented Jan 13, 2025

I was successfully directed to the start of IPP in both flows with I clicked the Try in person button. Did go back in IPP work for others in both flows? Standard flow- I was taken back to doc auth step 1. Hybrid flow- I was taken to google.

@solipet solipet requested review from amirbey and jmax-gsa January 14, 2025 17:52
@solipet solipet force-pushed the dprice/lg-15337-try-again-hybrid branch from d3ffdb4 to bb2af96 Compare January 16, 2025 18:41
solipet and others added 4 commits January 16, 2025 14:36
If the system times out waiting for the data from Socure,
show the try again page with, if available, an option to switch to
in person proofing.

changelog: Upcoming Features, Identity Verification, Socure timeout provides hybrid users with options.

This first commit sets up the page. Try again works. IPP does not work
yet.
@solipet solipet force-pushed the dprice/lg-15337-try-again-hybrid branch from bb2af96 to 1f22c8e Compare January 16, 2025 19:46
@solipet solipet force-pushed the dprice/lg-15337-try-again-hybrid branch from 1f22c8e to 22759ca Compare January 16, 2025 20:02
@solipet solipet merged commit 72d57a3 into main Jan 16, 2025
2 checks passed
@solipet solipet deleted the dprice/lg-15337-try-again-hybrid branch January 16, 2025 20:26
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.

5 participants