FormidableLabs / FormidableLabs/react-native-app-auth
confirm registration with deep link when auth window is closed
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 473
- PR merge metrics
- No merged PRs in 30d
Description
## Issue
Hey everyone, I have implemented auth flow with react native app auth + keyclock and faced issue. My registration flow consist of two steps:
1) I press sign up button, call `authorize`, is opened additional window with form, I fill data and get link on email that I have to press in order to confirm registration
2) I press link (deep link to my application with params like code, state ...) on email and I will be redirected to app
if additional window that `authorize` opened was not closed, I will get response (access_token, ...) from `authorize` and everything is fine
if additional window that `authorize` opened was closed, I need to log in
Is there way to handle deep link if additional window is closed? My goal it is that I press on link in email -> I am redirected to app (additional window can be closed) and I will get access_token
hope I explained clear
---
## Environment
* **Your Identity Provider**: `keyclock`
* **Platform that you're experiencing the issue on**: `Android | IOS`
* **Are you using Expo?**: No
Contributor guide
Assessment
This issue has not been assessed yet.