flask_google_login icon indicating copy to clipboard operation
flask_google_login copied to clipboard

How to get the name and email address of the signed in user from Google?

Open Olney1 opened this issue 3 years ago • 0 comments

Many thanks for sharing this tutorial, I'm trying to work out how to retrieve the user details from the callback.

I was wondering if the following code is related to this:

session["name"] = id_info.get("name") session["email"] = id_info.get("email")

I tried saving these values into a variable and printing them but to no avail.

Olney1 avatar May 16 '22 16:05 Olney1