Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Debug user discord image not always available.

Open AbdBarho opened this issue 2 years ago • 2 comments

Users logged in with discord don't always have valid images.

My initial hypothesis:

We implemented a refresh of the user's profile images https://github.com/LAION-AI/Open-Assistant/pull/2043, which worked, but fails sometimes.

It seems that this is related to how nextauth handles credentials, or more precisely, how it does not correctly handles refresh tokens.

https://github.com/nextauthjs/next-auth/issues/3599

https://github.com/nextauthjs/next-auth/issues/3599#issuecomment-1091608216

TLDR: we might need to handle the refresh of the user token ourself.

AbdBarho avatar Mar 24 '23 22:03 AbdBarho

This is fixed right?

notmd avatar Apr 15 '23 02:04 notmd

Unfortunately not.

AbdBarho avatar Apr 15 '23 06:04 AbdBarho