react-native-auth0
react-native-auth0 copied to clipboard
[4.0.0-beta.0] It is not possible to get credentials without calling biometrics.
Checklist
- [X] The issue can be reproduced in the react-native-auth0 sample app (or N/A).
- [X] I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- [X] I have looked into the API documentation and have not found a suitable solution or answer.
- [X] I have searched the issues and have not found a suitable solution or answer.
- [X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- [X] I agree to the terms within the Auth0 Code of Conduct.
Description
With the new update, it is no longer possible to control when to call the biometrics. I need to do the biometrics only when the user clicks a button. However, currently in this version, the biometrics are called right when the app starts.
This also makes it impossible for me to get the renewed credentials without calling getCredentials again, causing two biometric requests.
Reproduction
1 - Add AuthProvider with localAuthenticationOptions
2 - Call getCredentials right after
Additional context
No response
react-native-auth0 version
4.0.0-beta.0
React Native version
0.72
Expo version
No response
Platform
iOS
Platform version(s)
13