When we run your sample and enable smart lock with Face id, after restart your sample it will ask for smart lock and while providing face id, it returns invalid keys and logging out the user.
What is expected to happen?
It will allow user to login with face id
What is the actual behavior?
It is returning invalid keys.
mSmartLockHelper.showSmartLockChooseDialog(this, new SmartLockHelper.FingerprintCallback(this, encryptionManager) {
@Override
protected void onSuccess() {
if (encryptionManager.isValidKeys()) {
showUserInfo();
} else {
// IN CASE OF FACE ID THIS BLOCK CALLED AFTER FACE DETECTION
clearStorage();
}
}
Reproduction Steps?
Steps to reproduce:-
Enable smart lock with Face ID
kill app and restart again
Biometric prompt comes
select Finger Print to authenticate
It will accept Face ID and we got invalid Keys
Additional Information?
No response
SDK Version
'com.okta.android:okta-oidc-android:1.2.2' this version for OKTA
'androidx.biometric:biometric:1.1.0-beta01' this version for biomatric
Describe the bug?
When we run your sample and enable smart lock with Face id, after restart your sample it will ask for smart lock and while providing face id, it returns invalid keys and logging out the user.
What is expected to happen?
It will allow user to login with face id
What is the actual behavior?
It is returning invalid keys. mSmartLockHelper.showSmartLockChooseDialog(this, new SmartLockHelper.FingerprintCallback(this, encryptionManager) { @Override protected void onSuccess() { if (encryptionManager.isValidKeys()) { showUserInfo(); } else { // IN CASE OF FACE ID THIS BLOCK CALLED AFTER FACE DETECTION clearStorage(); } }
Reproduction Steps?
Steps to reproduce:-
Additional Information?
No response
SDK Version
'com.okta.android:okta-oidc-android:1.2.2' this version for OKTA 'androidx.biometric:biometric:1.1.0-beta01' this version for biomatric
Build Information
No response