-
Notifications
You must be signed in to change notification settings - Fork 104
Google authentication dialog box is lost #64
Comments
It looks like deep links are not set up correctly on your application. Make sure you follow the instructions in: And the instructions on how to set up the Google Provider: |
The same happens in the sample app https://github.com/adamjmcgrath/ReactNativeSimpleAuthExample (try to run it in an iOS simulator). I think deep linking is set up correctly since when I paste my credentials there I can get all the data from the callback and don't have any (noticeable) errors, only this "timeout" occurs. |
Linking is true because Facebook login is working. Only google login redirect after several seconds and then dialog box is lost. |
You have this "issue" also in react-native-oauth package. I don't know if there is a possibility to make the timeout longer or get rid of it completely, at least what would be great is to handle the "dismissal" so we could return automatically to our app and not stay in the browser. But I wonder if implementing Universal Links (somehow) would solve the issue since according to this it seems to me that the alert only shows when we use standard deep linking (more here). |
Ah ok, so this happens when you don't accept the 'Open this page in "VizzleR"' dialog - I didn't get that from the screencast. Yes, Universal Links might be a solution for that - but it would make the setup even more complicated. I'm also looking at a solution that uses WebView and onShouldStartLoadWithRequest. The benefit for this would be that the setup would be easier for iOS and we could offer providers that don't accept custom schemes in the Am trying to workaround errors I'm getting in the WebView at the moment, so that is slightly blocked by facebook/react-native#12482 |
any progress ? @adamjmcgrath |
I think this issue has high priority. I was trying to find a solution but without any success. |
Did someone find a solution? |
@adamjmcgrath .... can you please help .. i am facing this issue in my project "dependencies": { React-Native Info |
I have the problem.After several seconds then redirect google. How can I solve this problem ?
The text was updated successfully, but these errors were encountered: