react-native-auth0 icon indicating copy to clipboard operation
react-native-auth0 copied to clipboard

[4.0.0-beta.0] It is not possible to get credentials without calling biometrics.

Open guhcostan-tw opened this issue 1 year ago • 0 comments

Checklist

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

guhcostan-tw avatar Oct 15 '24 14:10 guhcostan-tw