FormidableLabs / FormidableLabs/react-native-app-auth

iOS: Enable/Allow faceId touchid or any biometric action before redirect or close the modal/webview

Open
#978 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
473
PR merge metrics
No merged PRs in 30d

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.