Voting: 
Vote up!
0 Votes
6 Replies
In Progress

Not able to Authenticate with google

Problem posted by ravi khandelwal on Jul 10, 2017 02:05 EDT

Hello, We are trying to do social login (google) in our app.  I have generated clientID and secretID from the google developer console. I have written the google Integration web service in Mobile febric. from there i am able to get the data by click on test_login. We did the configurations: - Ativate the "Google+ API" while authentication on click of button i am able to hitting webservice successfully also getting the user profile. But after it I am facing google "disallowed_useragent" issue .  PFA. Can you please check and let me know how can i solve this disallowed_useragent issue. Below is sample code - function initilizeAuthenticateUsingGoogle () {   appMFConfiguration.konysdkObject = new kony.sdk();   appMFConfiguration.konysdkObject.init(appMFConfiguration.appKey, appMFConfiguration.appSecret, appMFConfiguration.serviceURL, initilizeClientSDKSuccess, initilizeClientSDKFailure);   function initilizeClientSDKSuccess (response)   {    // alert ("In initilizeClientSDKSuccess last: "+JSON.stringify(response));     appMFConfiguration.authClient=appMFConfiguration.konysdkObject.getIdentityService(appMFConfiguration.identityServices[1].service);     appMFConfiguration.authClient.login({}, loginSuccess1, loginFailure1);     function loginSuccess1 (loginResponse)     {         alert ("In loginSuccess: "+JSON.stringify(loginResponse));                }          function loginFailure1 (loginError)     {          alert ("In loginSuccess: "+JSON.stringify(loginError));          }   }   function initilizeClientSDKFailure (error)   {      alert ("In initilizeClientSDKFailure: "+JSON.stringify(error));    } } Thanks,

Vote up!
0 votes
Vote down!

Hi,

Can anyone please let me know regarding the mentioned issue.

Thanks in advance.

 

Regards,

Ravi

 

Replied by: Jul 10, 2017 03:17 EDT
Vote up!
0 votes
Vote down!

I also got the same error.Google is no more allowing webview for OAuth, this change is been done on google side .

Replied by: Jul 10, 2017 06:21 EDT
Vote up!
0 votes
Vote down!

Is there any way in kony to solve mentioned issue.

Replied by: Jul 10, 2017 06:29 EDT
Vote up!
0 votes
Vote down!

I checked with the product team and they said that they would provide the solution for this in the upcoming releases ...

Replied by: Jul 11, 2017 05:18 EDT
Vote up!
0 votes
Vote down!

Hi Pawan,

Thanks for the response.

Please update me once kony product team will provide the solution for this in the upcoming releases .

Meanwhile, If Is there any workaround for this. Please let me know.

Thanks again for support.

Regards,

Ravi

Replied by: Jul 11, 2017 05:24 EDT
Vote up!
0 votes
Vote down!

hi, i get erro 403 when try login with g+; I searched in the web and not found how resolve this. 

My question is, exist one solution for this problem?

 

thank.

Replied by: Aug 08, 2017 09:16 EDT