OpenInviter contact export request rejected by Gmail

980 views Asked by At

I have installed Openinviter successfully on my shared server.

I tried to get contacts from Gmail, Yahoo and Facebook, but it always return an error such as:

Login failed. Please check the email and password you have provided and try again later

I also got an email from Gmail team that said:

Suspicious sign-in prevented

Please help me to sort out this issue.

2

There are 2 answers

0
Tom On

I have just encountered the same issue. I granted the application the privilege in gmail, then the code can retrieve the contact list. However, this stops me from using this code, as most of my users will not understand how...

0
got2code On

The Gmail team message isn't an OpenInviter problem. It just means that the IP address/device of the login is new for your account, it's not what Google is expecting, so they blocked it to be safe. It could also mean that an invalid oAuth token was user to try to access the account, or a bad password, etc. (For security, they don't explain why they thought it was invalid.)

You should be able to authorize that IP address (your server address?) by logging in to the Gmail account and checking the login history.

Related posts from Web Applications area on StackExchange (probably a better place to discuss this):