Our app allows users to sign in with Google account and uses Google API client library for ID token validation.
According to the Google doc, email
claim is supposed to be contained in the ID token payload when the scope includes the email
scope value.
However, I noticed in some cases, email
or email_verified
claim is missing from the ID token payload though the email
scope value is included.
Why is this happening? I suppose a Google account always has a verified email address on the profile.