authentication - Authenticating with Google with OAuth 2.0 and Userinfo API, what does it mean for the email to be verified? -


i'm getting started using oauth 2.0 google authentication. i'm using google's using oauth 2.0 login document, , working great. have question verified_email field. documented this:

verified_email : flag indicates whether or not google has been able verify email address.

but mean, exactly? considered best practice make sure email verified when authenticating in way, or fact we've gotten response correct email proof enough user owner of said email account?

it means different things whether mail hosted google, or not.

-if user has email address @gmail.com or @hosted-example.com, hosted-example.com domain using google apps (and in particular hosted gmail), google accounts implement access control/login email account. in case, verified_email bit 'true', in fact guarantee stronger "google has been able verify email address".

  • on other hand, if email address on non-google-hosted account, e.g. @yahoo.com, means google able validate (typically sending user email , obtaining confirmation of receipt) @ point in time. information may not current: user may have lost control on account. in case, information possibly useful in terms of spam signal, should not relied upon exclusively more critical operation, e.g., account recovery.

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -