Closed pksnz closed 2 years ago
Facing the exact same issue, any luck finding the root cause?
Update: I managed to solve it, here is how:
redirectUrl
field in the oauth2Options
as follows:
From --> redirectUrl: 'com.your.appid://oauth/redirect,
To --> redirectUrl: 'msauth.com.your.appid://auth'
appAuthRedirectScheme
in the android/app/build.gradle as follows:
From --> "appAuthRedirectScheme": "com.your.appid"
To --> "appAuthRedirectScheme": "msauth.com.your.appid"
Thanks @Ermag. That worked!
Seems like you guys managed to solve this, closing this ticket. (Sorry I only saw this now and honestly I moved to flutter, so much better)
Describe the bug Deep Linking on Android is not working
To Reproduce Steps to reproduce the behavior:
Expected behavior The Login intent should close after successful authentication and the Access Token is generated.
Screenshots Here is an example I got from chrome://inspect
I also tried changing the Scheme to use com.mydomain.app://oauth and it has the same behaviour.
Smartphone (please complete the following information):
Additional context I have checked issues 96 and 91 and no luck. Appreciate any help on this.