-
Notifications
You must be signed in to change notification settings - Fork 13
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
Biometrics Sample Code #242
Comments
@gusuly0rum, browser-sign-in sample in samples-android implements biometric encryption in this commit: okta/samples-android@e83bda0#diff-49361603563ae620a4d140801622437cb3df95ccbc8e68e4881a1f184da0de08 |
I see, I am not seeing any examples of code that describes how to retrieve the token after being biometrically authenticated.
|
@gusuly0rum, you might need to clear the existing shared preferences in the app. The easiest way to test this is with uninstalling and reinstalling the app. createCredentialDataSource creates shared preferences with the same file name, so you're able to access it since it continues using the same encryption. |
Describe the feature request?
Do you guys have any code samples for integrating biometrics with okta? I am trying to store the okta token so that it requires biometric credentials to unlock. I took a look at this sample but the code seems to be incomplete - https://github.com/okta/samples-android. I could not find any instructions or documentation on the exact mechanism how credentials can be locked behind biometrics. If you take a look at the official android documentation that doesn't incorporate okta, you will notice that their credential locking depends on the usage of a cipher which I see no usage of in the okta sample code - https://developer.android.com/training/sign-in/biometric-auth#kotlin.
New or Affected Resource(s)
#207
#226
Provide a documentation link
No response
Additional Information?
No response
The text was updated successfully, but these errors were encountered: