learning-ionic / Chapter-8

Building a Messaging App
https://www.packtpub.com/application-development/learning-ionic
11 stars 18 forks source link

google oauth Login Problem #10

Open kay102dev opened 8 years ago

kay102dev commented 8 years ago

I've been going through this book whenever i have time for past month, it really is fantastic and love the practical approach it gives.

I've set up my local environment properly and managed to fix errors i come across except the following... I'm using Android Studio's AVD manager as my simulator. My problem is when i run 'ionic run android -c' on my CLI everything runs as expected i get no errors till the google authentication, When i log in as user using my correct google credentials it takes remains on login instead of proceeding to the next state. I am not sure if the google API credentials i.e Authorized JavaScript origins or Authorized redirect URIs have to do with it? Or perhaps the problem was brought up and i failed to see the fix amongst the issues posted?

Please help. i followed all instructions as expected including the firebase side.

kay102dev commented 7 years ago

Problem solved, code written for authentication was not for mobile use but desktop.