Next Auth Discord Provider returns invalid profile picture
Unanswered
European pilchard posted this in #help-forum
European pilchardOP
Discord's CDN is invalidating the avatar url the session returns:
It works right after OAuth, but it breaks at some point.
{"message":"Invalid resource \"https://cdn.discordapp.com/avatars/290528827715747841/73ccf71b3b9bc3ac209fdc0bcae8f8dd.png\""}It works right after OAuth, but it breaks at some point.
4 Replies
European pilchardOP
Is this a known issue, or am I doing something wrong?
@European pilchard Discord's CDN is invalidating the avatar url the session returns:
json
{"message":"Invalid resource \"https://cdn.discordapp.com/avatars/290528827715747841/73ccf71b3b9bc3ac209fdc0bcae8f8dd.png\""}
It works right after OAuth, but it breaks at some point.
Yes, discord invalidates it, I've faced it before
at some point, but not in a short period of time
Discord started doing that because people used discord as their cloud storage