Saqib Ali
Saqib Ali

Reputation: 4448

Does the User ID returned by https://www.googleapis.com/oauth2/v2/userinfo changes over time

we would like a use the User ID returned by https://www.googleapis.com/oauth2/v2/userinfo as a unique identifier in an application.

does this User ID change over time ? for e.g. if the email address changes (in Google Apps for business).

Upvotes: 1

Views: 721

Answers (1)

mariuss
mariuss

Reputation: 932

The user id is a stable identifier. It is not affected by email address changes, that's why it should be used as a key (not the email address).

Upvotes: 2

Related Questions