forked from aws-samples/rekognition-identity-verification
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle Auth Error condition for the other user selfie (aws-samples#38)
* Auth error handling for different user selfie provided * Update StateMachine for Auth Error payload check * Update CF template --------- Co-authored-by: Vineet <[email protected]>
- Loading branch information
1 parent
47f1c4e
commit 3a1733f
Showing
4 changed files
with
32 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
const ErrorMessage = { | ||
'UserAlreadyExists' : 'The user already exists. Delete the user first to try out this feature.', | ||
'FaceNotMatchWithIDCard':'The image from the camera and ID card don’t match. Please use your valid ID documents.', | ||
'GenericError': 'An error occurred while submitting the form. Please try again later.', | ||
'ValueError': 'The user does not exist. Please register the user first.', | ||
'LiveNessResultThreshold':'The Face Liveness confidence score is less than the user-selected confidence threshold. Please reattempt the face liveness check again.' | ||
'UserAlreadyExists': 'The user already exists. Delete the user first to try out this feature.', | ||
'FaceNotMatchWithIDCard': 'The image from the camera and ID card don’t match. Please use your valid ID documents.', | ||
'GenericError': 'An error occurred while submitting the form. Please try again later.', | ||
'ValueError': 'The user does not exist. Please register the user first.', | ||
'LiveNessResultThreshold': 'The Face Liveness confidence score is less than the user-selected confidence threshold. Please reattempt the face liveness check again.', | ||
'UserAccessDenied': 'Access Denied. The wrong person is in the photo.' | ||
} | ||
|
||
export default ErrorMessage; |
This file contains 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