NextAuth google provider sometimes doesn't fetch image

When I open the link from the Database the image displays as normal, the Image tag also get rendered however the content appears only about on every 10th attempt, I didn't modify my nextauth file at all
3 Replies
GBianchi
GBianchi7mo ago
If the user image url is safely stored in the database, then it has nothing to do with NextAuth. I get thi error sometimes too Might be related to google servers?
Anonymous_hacker
Add remote pattern in next.config.js and Where ever you using the url from Google add
referrerPolicy='no-referrer'
referrerPolicy='no-referrer'
In Image components of next/image.
Aidam
Aidam7mo ago
The image is stored via a link to google, how can I store it directly in my db?
Want results from more Discord servers?
Add your server
More Posts