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

The authentication page doesn't close after authenticated on Microsoft Edge as default browser #210

Open hmheng opened 6 years ago

hmheng commented 6 years ago

Is this a bug, feature request or a request for information? Bug

Describe your issue and include steps to reproduce if possible. The authentication page doesn't close after authenticated on Microsoft Edge as default browser. It just stays on successful authenticated page and never return to app. I tested on Galaxy note 9

hmheng commented 6 years ago

any update?

kadikraman commented 6 years ago

Hi, what's your identity provider? Can you reproduce it with any of our example apps?

hmheng commented 6 years ago

Im using Identityserver4. Yes, can be reproducing by installing Microsoft Edge on android, set it as default browser, run the default latest example in the project. try to authorize, after login, giving permission, it will just stuck at the screen "You are now being returned to the application. Once complete, you may close this tab" and never return to app. But on chrome and samsung internet, it seems automatically return to the app.

hmheng commented 5 years ago

any update?

kadikraman commented 5 years ago

Hi @hmheng - sorry, I don't currently own an Android phone, so it's not easy to reproduce it, but I'll try and get my hands on a test device.

kadikraman commented 5 years ago

I was able to reproduce it, finally. As you said - I was able to log in on IS4 just fine with Chrome as my default browser, but the redirect failed when setting Edge as the default browser. I think we could try building the AppAuth-Android example app and checking if that also fails, so as to narrow down the error location.

hmheng commented 5 years ago

@kadikraman finally 👍

gitstud commented 5 years ago

Any updates on this? @kadikraman

kadikraman commented 5 years ago

Tagging this as Help Wanted - it's certainly a bug, but it seems specific to Android/Edge, and I don't have the expertise to fix it.

Namnp1521 commented 1 year ago

any update?