[Enhancement] Biometric re-enrollment flow missing — users locked out after fingerprint change#883
Open
Menjay7 wants to merge 1 commit into
Open
[Enhancement] Biometric re-enrollment flow missing — users locked out after fingerprint change#883Menjay7 wants to merge 1 commit into
Menjay7 wants to merge 1 commit into
Conversation
…after fingerprint change
|
@Menjay7 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduces a biometric re-enrollment flow to prevent users from being locked out after adding, removing, or updating fingerprints on their device. The enhancement detects biometric enrollment changes and guides users through securely re-enabling biometric authentication.
Problem
Currently, when a user modifies their registered fingerprints (or other biometric credentials), biometric authentication becomes invalid. Without a recovery flow, users who rely on biometrics may be unable to sign in until they manually troubleshoot the issue.
Solution
Detect biometric enrollment changes.
Prompt users to authenticate using their primary credential (password, PIN, or passcode).
Guide users through biometric re-enrollment.
Re-enable biometric login upon successful verification.
Display clear error messages and recovery instructions if re-enrollment fails.
Changes
Add biometric enrollment change detection.
Implement secure biometric re-enrollment workflow.
Add fallback authentication before re-enrollment.
Improve user-facing messaging for biometric invalidation.
Add analytics/logging for biometric re-enrollment events.
Add unit and integration tests covering successful and failed re-enrollment scenarios.
Benefits
Prevents users from being locked out after biometric changes.
Improves account recovery experience.
Maintains strong security by requiring primary authentication before re-enrollment.
Reduces support requests related to biometric login failures.
Testing
Verified re-enrollment after adding a new fingerprint.
Verified re-enrollment after removing existing fingerprints.
Verified re-enrollment after replacing all enrolled biometrics.
Confirmed fallback authentication is required before re-enrollment.
Confirmed existing biometric authentication behavior remains unchanged for users without enrollment changes.
Closed #823