Azure / azure-mobile-services-cordova

Apache License 2.0
23 stars 25 forks source link

Unable to login using google authentication #24

Closed mrvamsidhar closed 8 years ago

mrvamsidhar commented 8 years ago

I just started using this plugin. I was able to login using google authentication on chrome browser in my desktop. But, When I install in device and try to login using using google authentication I am getting below. Here is my code. I installed below plugins

 <plugin name="cordova-plugin-whitelist" version="1.2.1" />
  <plugin name="com.microsoft.azure-mobile-services" version="1.2.9" />
  <plugin name="cordova-plugin-inappbrowser" version="1.3.0" />
  <plugin name="cordova-plugin-device" version="1.1.1" />
  mobileService = new WindowsAzure.MobileServiceClient(
              "https://test.azure-mobile.net/",
              "XXXXXXXXXXXXXXXXXXXXXX"
          );
            mobileService.login('google').then(function (result) {
                console.log('success - result',result);              

            }, function (error) {
                console.log(error);
            });`

screenshot_2016-03-18-20-16-32 1

shrishrirang commented 8 years ago

I have responded to your query on https://social.msdn.microsoft.com/Forums/en-US/20a4931f-459d-4727-a4d2-b2d9baa4f2fb/azure-mobile-services-cordova-plugin-issue-unable-to-login-using-google-authentication. I am closing this issue as this is a duplicate of that query.