-
Notifications
You must be signed in to change notification settings - Fork 66
Blank page - stored credentials iOs social login #31
Comments
Can you check if the "Client Type" is selected as "Native" in Dashboard > Clients > Your Client Name > Settings |
Thanks. It is not, I am not sure if I can change that on the old client (currently running in production :( ), will certainly do on the new one. Hopefully it will solve the problem, though I don't really see how that is connected :) The problem only appears on iOs and only when client has been logged in with the same social provider before. |
@gregor-srdic in iOS does it work when the user is not previously logged in? If not, please check that you installed the plugins detailed in the README correctly. Since cordova plugins tends to be a bit brittle I'd recommend removing the iOS platform and re-adding it. |
yes, if I reset the simulator (delete all settings) I can login the first time with google account. Then if I log out, and even if I remove the app and reinstall it, it gets stuck on the blank page :S |
after more research I found out that if I sign out of my google account in safari, I can login in cordova app again, first time. |
update: we checked the auth0 log and there is a record of a successful login |
Does anyone have anything to add to this? It seems painful to ask users to delete safari cookies and web data every time they log out and want to log back in :S |
Further research: Also if I revoke access to the application in google/facebook account, I can normally log in once again. |
Further research thanks to a colleague revealed, that window.handleOpenURL method was also being invoked when the popup window showed a blank web page.
|
In phonegap build the same issue occurred for me. |
Hi @gregor-srdic I'm having the same problem that you were having. Fb is working fine but when trying to sign in with Gmail, the first time it's 👌 , but once the user is logged it shows me the Website Name. I tried with your solution but still not working. Do you have any news about it? |
I have the exact same issue :( |
I was able to temporarily solve this for iOS by 'Erasing all Settings and Contents' from the Simulator and running the emulator again from scratch. Must be some kind of cache that somehow persists even after you quit the simulator? |
I am using this lib to add auth0 authentication (google, facebook, database) to Ionic1 application. With plugins, it now works OK on Android, but on iOS, when user has previously logged in with Gmail account, the popup is stuck on blank page, and no tokens are returned to the Ionic app.
http://i.imgur.com/lQjUI6n.png
Any idea, what I could be doing wrong?
The text was updated successfully, but these errors were encountered: