Replies: 1 comment 3 replies
-
We can get extra stuff like Google({
clientId: GOOGLE_CLIENT_ID,
clientSecret: GOOGLE_CLIENT_SECRET,
authorization: {
params: {
scope:
'openid https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/youtube.readonly',
},
},
// extra has id_token, access_token, and expires_in
profile(profile, extra) {
console.log({ profile, extra })
return {
id: profile.sub,
name: profile.name,
image: profile.picture,
email: profile.email,
}
},
}), |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If we are building a YouTube feed, it would be helpful for the user to see the YouTube channels they have subscribed to.
I was able to add more scopes to the auth with this
I'm not sure if this will count towards our API usage.
Beta Was this translation helpful? Give feedback.
All reactions