Google OAuth with profile in scope missing name

Viewed 465
1 Answers

Google doesn't always return the claims you would expect. With open id connect. Also there is no guarantee that a user has even added a name.

If you are trying to get a users profile information you should use People.get. This is the best and most reliable way to get user profile information.

Don't rely on the claims.

Related