Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cordova , Google login give error 10 after update meteor 1.5 #8895

Closed
aayushsinghm16 opened this issue Jul 11, 2017 · 4 comments
Closed

Cordova , Google login give error 10 after update meteor 1.5 #8895

aayushsinghm16 opened this issue Jul 11, 2017 · 4 comments

Comments

@aayushsinghm16
Copy link

Please provide me with some solution , how to fix google login issue for android and ios.

@aayushsinghm16
Copy link
Author

aayushsinghm16 commented Jul 12, 2017

updated to meteor 1.5 , but logginWithGoogle return error
Meteor.loginWithGoogle({ requestPermissions: ['https://www.googleapis.com/auth/contacts.readonly','email'], requestOfflineToken: { google: true } }, function (err) { if (err){ console.log(err); Session.set('errorMessage', err.reason || 'Unknown error'); }else{ Session.set("loggin", true); } });
log result 10

@paulincai
Copy link
Contributor

Hi,

you mentioned Cordova in the title. Are you using anything like this: https://github.com/EddyVerbruggen/cordova-plugin-googleplus ?

I guess there might be some relation with this: #8253

Paul

@aayushsinghm16
Copy link
Author

thanks for response , i just updated meteor.(because google blocking OAuth requests using web-views )
I think meteor 1.5 using cordova-plugin-googleplus
For using new google sign in for android or ios , what steps should i follow , for previous sign in process , we need webClient clientid and secret ,
ServiceConfiguration.configurations.insert({ service: "google", clientId: "xxxx", secret: "xxxx" });
Now what should i do , and how to add my android client id ,
Please help me out , our product depends upon google sign for all 3 platforms web , android and ios
without it we cant do any thing

@aayushsinghm16 aayushsinghm16 changed the title Cordova , Google login give error disallowed_useragent Cordova , Google login give error 10 after update meteor 1.5 Jul 13, 2017
@aayushsinghm16
Copy link
Author

I figured out what was the problem , just followed these step given in
https://github.com/sujith3g/meteor-g-plus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants