Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use birthday scope? #158

Open
butaminas opened this issue Nov 1, 2021 · 1 comment · May be fixed by #167
Open

How to use birthday scope? #158

butaminas opened this issue Nov 1, 2021 · 1 comment · May be fixed by #167

Comments

@butaminas
Copy link

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 butaminas changed the title How to get birthday scope? How to use birthday scope? Nov 1, 2021
@reslear reslear linked a pull request Jan 4, 2022 that will close this issue
10 tasks
@joeflateau
Copy link
Contributor

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants