FormidableLabs / FormidableLabs/react-native-app-auth
iOS: Enable/Allow faceId touchid or any biometric action before redirect or close the modal/webview
- Langage dominant
- Java
- Étoiles
- 2.3k
- Forks
- 473
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
## Issue
Hi everyone.
I was wondering if it would be possible, after entering valid credentials and getting the token, to give the user some time in iOS to be able to save the credentials before closing the webview/modal.
If not, could someone point me in the right direction to try to do it myself in any of the library files?
I was trying to do it with the following files, but I couldn't find the right spot to, for instance add some kind of timeout so the user is able to tap in "save credentials" after the credentials are validated and before the modal is closed.
node_modules/react-native-app-auth/ios/RNAppAuth.m
ios/Pods/AppAuth/Sources/AppAuthCore/OIDAuthorizationService.m
ios/Pods/AppAuth/Sources/AppAuthCore/OIDAuthState.m
ios/Pods/AppAuth/Sources/AppAuthCore/OIDAuthorizationRequest.m
Thanks in advance!
---
## Environment
Azure
iOS
`react-native` Version**: `0.73.6`
`react-native-app-auth` Version: `^7.1.0`
* **Are you using Expo?** NO
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par retracer le flux d’authentification et de fermeture d’iOS dans RNAppAuth.m, puis examinez OIDAuthorizationService.m, OIDAuthState.m et OIDAuthorizationRequest.m. Déterminez où le token est reçu et où le modal ou la webview est fermé. Le travail est considéré comme terminé lorsque le flux iOS permet l’action biométrique demandée ou l’enregistrement des identifiants avant la redirection ou la fermeture.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- ios, react-native
- Domaine
- authentication, mobile
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100