auth0-ionic2-samples
auth0-ionic2-samples copied to clipboard
cannot use Auth0 social connectors with ionic 2
I there, I downloaded your ionic sample. It works great on desktop browser. But I found after trying to run on either real device (my android), or emulator GenyMotion, or Ionic View it fails.
Im running an Android Samsung Note 2
Bascially, Auth0 for Ionic 2 for android fails.
What happens when you try to use social connector (live.com ) for instance on a phone, is you get redirected via phones browser to login page, you can login successfully, and page says 'Ok',
BUT..... it does not close and redirect back to the Ionic app. The App just sits there in a frozen state doing nothing because I suppose it is expecting a code to be delivered back to it, so it can say "happy days", you are now authenticated. But this does not happen
Can you please test your ionic 2 sample on an actual Android, or use an emulator, or Ionic View to see what I mean, and confirm that your sample works, and its not just me. I have tested against emulator running Samsung Galaxy S5 as well.
Cheers
And I can also confirm the same behavior using IOS phone
Same problem here. Any clues ?
Probably related: https://github.com/auth0-samples/auth0-ionic-samples/issues/49
Thanks for pointing the other thread! However, I tried the solutions mentionned there (reinstall inappbrowser and setting sso to false). Still not working :-(
bump, same problem
@alphakennyn updating to last version of auth0 lock didn't help?
@Amialc nope, currently on 10.11.0
Im having this problem as well. Really frustrating.
Two issues,
- Using 'Ionic View' "Social Login" is not working.
- Blank space at the bottom.
Hi ! I have the same problem here. Do you know if there is a fix ?
Are you using WKWebView
? If so, try removing the plugin and trying with the older UIWebView
. I just filed another issue for this exact problem.
Same problem here. Can anybody sign in with an Auth0 account, i.e. not a social connection?