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-13463 | Remove doc_auth_selfie_capture_enabled feature flag #10751

Merged
merged 10 commits into from
Jun 6, 2024

Conversation

n1zyy
Copy link
Member

@n1zyy n1zyy commented Jun 3, 2024

🎫 Ticket

Link to the relevant ticket:
LG-13463

🛠 Summary of changes

Based on the Jira story above, this feature, which is enabled in production, has no plans to be disabled, so we should just rip the flag out.

It is not being used consistently across environments, but is enabled
in production with no plans to turn it off in production.
n1zyy added 4 commits June 4, 2024 17:15
This breaks the TrueIdRequestSpec. I will fix that in the AM with a fresh brain.
These tested the now-deleted behavior, in confusing ways.
@@ -96,18 +92,14 @@ def cancel_establishing_in_person_enrollments
end

def analytics_arguments
liveness_checking_required =
FeatureManagement.idv_allow_selfie_check? &&
resolved_authn_context_result.biometric_comparison?
Copy link
Member Author

Choose a reason for hiding this comment

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

Per @aduth's excellent earlier comments, I removed these variable assignments that were now x = y and just inlined the y part where it was used. This plays out over the next handful of blocks.

docs/sdk-upgrade.md Show resolved Hide resolved
spec/features/idv/doc_auth/hybrid_handoff_spec.rb Outdated Show resolved Hide resolved
end

context 'with liveness_checking_enabled as false' do
Copy link
Member Author

Choose a reason for hiding this comment

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

This diff becomes a little confusing, but tl;dr I removed this context. I kept the content of context 'with liveness_checking_enabled as true' but removed the context block itself because that's now always the case.

@n1zyy n1zyy marked this pull request as ready for review June 5, 2024 20:52
@n1zyy n1zyy requested a review from a team June 5, 2024 20:53
idv_session.selfie_check_required =
FeatureManagement.idv_allow_selfie_check? &&
resolved_authn_context_result.biometric_comparison?
idv_session.selfie_check_required = resolved_authn_context_result.biometric_comparison?
Copy link
Member

Choose a reason for hiding this comment

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

A note: This is accessed in a lot of places where resolved_authn_context_result is available. I think we could go back and clean those up at some point.

This seems to be set in the session so we can access it in the preconditions block for .step_info for a number of controllers.

spec/features/idv/doc_auth/hybrid_handoff_spec.rb Outdated Show resolved Hide resolved
@n1zyy n1zyy merged commit 9c9d680 into main Jun 6, 2024
2 checks passed
@n1zyy n1zyy deleted the mattw/lg13463_remove_doc_auth_selfie_capture_enabled branch June 6, 2024 21:22
brandemix added a commit to brandemix/18F-identity-idp that referenced this pull request Jun 17, 2024
…0751)

It is not being used consistently across environments, but is enabled
in production with no plans to turn it off in production.
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.

4 participants