G
G
goju2017-05-07 17:31:28
Google
goju, 2017-05-07 17:31:28

What scope Google API to use for authorization?

Everything is very confusing.
I deal with authorization by Google through Passport, OAuth.
I can’t find the scope I need to get, for example displayName and image.
The tutorial I'm watching uses the following scope

['https://www.googleapis.com/auth/userinfo.profile', 'https://www.googleapis.com/auth/userinfo.email']

Apparently, the API has already changed, because. he does not work.
Help plz. It seems that I set everything up, ran into this Google API, this is some kind of hell.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2017-05-07
@dimonchik2013

scope = ['https://www.googleapis.com/auth/analytics.readonly']

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question