CapacitorGoogleAuth icon indicating copy to clipboard operation
CapacitorGoogleAuth copied to clipboard

How to use birthday scope?

Open butaminas opened this issue 4 years ago • 1 comments

I've added https://www.googleapis.com/auth/user.birthday.read in my scopes array and when signing in, I was presented with an additional consent where I had to confirm that I allow my app to access birthday information.

However, after giving the consent I still don't get the birthday information. The birthday on the Google account is set to be publicly visible.

How should I obtain user's birthday information?

butaminas avatar Nov 01 '21 13:11 butaminas

@butaminas, once you have signed the user in with the birthday read scope, then you need to make an api call to the relevant endpoint (people.get) requesting the birthdate field for the user

joeflateau avatar Jan 04 '22 15:01 joeflateau