React-google-login: Not a Bug but confused

Created on 18 Jan 2018  路  1Comment  路  Source: anthonyjgrove/react-google-login

Perhaps I am missing something simple, but I am just not sure how to access my user's group information after gaining the auth token and the the correct scope.

As I have it set up:

I get as part of the response

scope: "https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/admin.directory.group.member.readonly openid email profile"

But I am failing at understanding how to get my user's group memberships for the associated domain.

Any help is greatly appreciated.

help wanted

Most helpful comment

For youtube API this is what I use.

scope="profile email https://www.googleapis.com/auth/youtube.readonly"

Then using the access_token given in the callback,

https://www.googleapis.com/youtube/v3/subscriptions?access_token={YOUR_ACCESS_TOKEN}&part=snippet%2CcontentDetails&mine=true

>All comments

For youtube API this is what I use.

scope="profile email https://www.googleapis.com/auth/youtube.readonly"

Then using the access_token given in the callback,

https://www.googleapis.com/youtube/v3/subscriptions?access_token={YOUR_ACCESS_TOKEN}&part=snippet%2CcontentDetails&mine=true

Was this page helpful?
0 / 5 - 0 ratings

Related issues

scolyer picture scolyer  路  3Comments

zoripong picture zoripong  路  7Comments

anthonyjgrove picture anthonyjgrove  路  8Comments

Ethan0007 picture Ethan0007  路  3Comments

foncyc picture foncyc  路  5Comments