FormidableLabs / FormidableLabs/react-native-app-auth
iOS: Enable/Allow faceId touchid or any biometric action before redirect or close the modal/webview
- Ngôn ngữ chính
- Java
- Star
- 2.3k
- Fork
- 473
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## 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
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách lần theo luồng xác thực và đóng của iOS trong RNAppAuth.m, sau đó kiểm tra OIDAuthorizationService.m, OIDAuthState.m và OIDAuthorizationRequest.m. Xác định nơi token được nhận và nơi modal hoặc webview được đóng. Hoàn thành khi luồng iOS cho phép thực hiện hành động sinh trắc học được yêu cầu hoặc lưu thông tin xác thực trước khi chuyển hướng hoặc đóng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- ios, react-native
- Lĩnh vực
- authentication, mobile
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100