FormidableLabs / FormidableLabs/react-native-app-auth

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

オープン
#978 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
2.3k
フォーク
473
PR マージ指標
30日以内にマージされた PR はありません

説明

## 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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず RNAppAuth.m の iOS 認証および終了フローを追跡し、次に OIDAuthorizationService.m、OIDAuthState.m、OIDAuthorizationRequest.m を調査します。トークンを受け取る場所と、モーダルまたは webview を閉じる場所を特定します。iOS フローがリダイレクトまたは終了の前に、要求された生体認証または認証情報の保存操作を実行できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
ios, react-native
領域
authentication, mobile
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。