-
Notifications
You must be signed in to change notification settings - Fork 429
Profile info isn't returned like the docs specify #450
Comments
@anthmgoogle any ideas? |
To shed more light on the topic, the endpoint The only way to return profile info seems to be calling |
I don't think this is related. For a token that has both the email and profile scopes neither the v2 or v3 endpoints seem to include profile fields. |
Thanks for the quick reply! |
While this one gets addressed, note that you can fetch information about the user through the userinfo endpoint of |
Has there been any resolution to this issue? I am having the same problem, where I request profile in the scopes but do not get image or name encoded in the id_token |
Thank you for creating this issue, however, this project is deprecatedand we will only be addressing critical security issues. You can read moreabout this deprecation here. If you need support or help using this library, we recommend that you ask yourquestion on StackOverflow. If you still think this issue is relevant and should be addressed, pleasecomment and let us know! |
The docs specify that the
/tokeninfo
endpoint will return the following if you have the "profile" scope specified:https://developers.google.com/identity/sign-in/web/backend-auth
i've never been able to receive anything but
email
andemail_verified
from that endpoint, even when requesting the profile scope.digging through this code I found this endpoint: https://github.com/google/oauth2client/blob/f9e16edc459654f88c7a1be04cf6fb381016c9b5/scripts/run_system_tests.py#L34 which I can use to get the profile info.
Is there a bug in the code or the documentation?
The text was updated successfully, but these errors were encountered: