none
[Node.js][Mobile Service] Azure Mobile services Cordova Plugin issue - Unable to login using google authentication RRS feed

  • Question

  • I just started using this azure-mobile-services cordova 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);
                });`


    Vamsidhar M




    Friday, March 18, 2016 2:57 PM

Answers

  • It seems the internet issue of your device, please check your device and make sure that your device can visit google service for getting authentication from google.
    • Marked as answer by Vamsidhar M Monday, March 21, 2016 7:08 AM
    Monday, March 21, 2016 6:40 AM
    Moderator
  • The error says name resolution failed. Are you able to access that URL (https://apptimatorrd.azure-mobile.net/login/google) from the browser on your device?
    • Marked as answer by Vamsidhar M Monday, March 21, 2016 7:08 AM
    Friday, March 18, 2016 6:23 PM

All replies

  • The error says name resolution failed. Are you able to access that URL (https://apptimatorrd.azure-mobile.net/login/google) from the browser on your device?
    • Marked as answer by Vamsidhar M Monday, March 21, 2016 7:08 AM
    Friday, March 18, 2016 6:23 PM
  • It seems the internet issue of your device, please check your device and make sure that your device can visit google service for getting authentication from google.
    • Marked as answer by Vamsidhar M Monday, March 21, 2016 7:08 AM
    Monday, March 21, 2016 6:40 AM
    Moderator
  • Thats correct. Looks like my device is having some issue with internet. Now i am able to authenticate.

    thanks


    Vamsidhar M

    Monday, March 21, 2016 7:24 AM