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

Refactor step info preconditions for Socure document capture #11704

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

amirbey
Copy link
Contributor

@amirbey amirbey commented Jan 3, 2025

🎫 Ticket

Link to the relevant ticket:
LG-15382

🛠 Summary of changes

  • Update Socure document capture step info preconditions:
    • skip doc auth_from_handoff
    • skip doc auth_from_how_to_verify
  • Require that a biometric comparison is not needed

@amirbey amirbey self-assigned this Jan 3, 2025
Copy link
Contributor

@solipet solipet left a comment

Choose a reason for hiding this comment

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

Makes sense!

!idv_session.selfie_check_required ||
idv_session.desktop_selfie_test_mode_enabled?)
idv_session.flow_path == 'standard' &&
!idv_session.selfie_check_required && (
Copy link
Contributor

Choose a reason for hiding this comment

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

Might want to add

idv_session.idv_consent_given_at.present?

to ensure that we've gone through the agreement page.

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