Google profile picture Next auth T3

Does anyone know how to get Google profile picture when user singIn ? i'm using T3/Next-auth
5 Replies
Axibord
Axibord11mo ago
profile {
iss: 'https://accounts.google.com',
azp: ---
aud: ----
sub: ---
email: ----
email_verified: true,
at_hash: ---
name: ---
given_name: ---
family_name: ---
locale: ---
iat: ---
exp: ---
}
profile {
iss: 'https://accounts.google.com',
azp: ---
aud: ----
sub: ---
email: ----
email_verified: true,
at_hash: ---
name: ---
given_name: ---
family_name: ---
locale: ---
iat: ---
exp: ---
}
Axibord
Axibord11mo ago
No description
Axibord
Axibord11mo ago
I tried this but it seems that Google is not sending me the picture/image I also thought it was the scope but apparentely it was not
TheFireOcean
TheFireOcean3w ago
Did you ever solve this?
l1mpan_
l1mpan_2w ago
Which user scopes do u have with your application on google? I've setup a basic auth.js application and get the following in session using the google adapter:
{
"user": {
"name": "<REDACTED>",
"email": "<REDACTED>",
"image": "https://lh3.googleusercontent.com/a/<REDACTED>"
},
"expires": "2024-11-18T11:47:03.546Z"
}
{
"user": {
"name": "<REDACTED>",
"email": "<REDACTED>",
"image": "https://lh3.googleusercontent.com/a/<REDACTED>"
},
"expires": "2024-11-18T11:47:03.546Z"
}
with the scopes in the picture Dont know how the t3 template looks like but using the default create next-app and the simple auth.js guide seems to work fine?
No description
Want results from more Discord servers?
Add your server