Verify that the email address is valid as a google account

I am working on an application in which we integrate with google docs through the API. We transfer these documents through the API with various members (email addresses) registered in the system. We would like to know if the account (email address) has an acceptable email address for the google account. There seem to be three different ways to use an email address as a google account:

  • gmail's regular email address (e.g. joe@gmail.com )
  • email address supported by google apps (e.g. joe@somecompany.com where somecompany.com uses Google apps)
  • use a plain old email address (e.g. joe@yahoo.com )

When I first developed the solution, I used MX record search for the domain name to find out if it is supported by Google. This works great for # 1 and # 2, but it doesn’t work for # 3. We didn’t understand that a user can register for a google account and just use their "regular" email address. Is there a way to determine if the email address is a valid google account email address, so when this user registers with Google using this email address do they have access to google docs?

+5
source share
2 answers

, , - Google OpenID (Google OpenID).

+3

google openid . . openid.ax.required. , Google . , Google , . , , afaik openid () . , google - , .

0

All Articles