FormidableLabs / FormidableLabs/react-native-app-auth
iOS: Enable/Allow faceId touchid or any biometric action before redirect or close the modal/webview
- Lenguaje dominante
- Java
- Estrellas
- 2.3k
- Forks
- 473
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
## 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
Guía de contribución
Línea de trabajo
Comienza rastreando el flujo de autenticación y cierre de iOS en RNAppAuth.m y, después, inspecciona OIDAuthorizationService.m, OIDAuthState.m y OIDAuthorizationRequest.m. Determina dónde se recibe el token y dónde se cierra el modal o la webview. Se considera terminado cuando el flujo de iOS permite la acción biométrica solicitada o el guardado de credenciales antes de la redirección o del cierre.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- ios, react-native
- Área
- authentication, mobile
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100