FormidableLabs / react-native-app-auth

React native bridge for AppAuth - an SDK for communicating with OAuth2 providers
https://commerce.nearform.com/open-source/react-native-app-auth
MIT License
2.04k stars 441 forks source link

Authorization + deeplinking #1022

Open Harish-Duppalapudi opened 2 months ago

Harish-Duppalapudi commented 2 months ago

Issue

I implemented Azure AD B2C for authorization following the documentation, with the redirect URL set to 'com.myapp.app://auth/callback'. and also added the deep linking to the forgot password screen navigation with the schema "myapp.app"

In the Azure AD B2C login flow, the forgot password link is set to "myapp.app://forgotpassword". On Android, everything works as expected—when the forgot password link is clicked, the authorize function throws an error, which triggers navigation to the correct screen via deep linking. However, on iOS, the authorize function neither returns nor throws an error, causing it to get stuck.

Is there a workaround or fix for this issue?


Environment

DimitrisKokkonas commented 1 month ago

Hello @Harish-Duppalapudi did you find any workadound on this?

Harish-Duppalapudi commented 1 month ago

No, @DimitrisKokkonas. This issue is still present.