سؤال

I am developing a gtalk client. My server is hosted on amazon. My users access service on my server. my server sends requests (XMPP) to google.

Now, most of my users are facing issues related to Suspicious sign-in alerts.

How do I avoid this?

هل كانت مفيدة؟

المحلول

Don't use your user's username/password to authenticate. Instead, use OAuth 2.0:

https://developers.google.com/talk/jep_extensions/oauth

this should let Google understand that a legitimate application, not an interactive user (or scammer) is accessing the account.

Jay

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top