You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a workaround, you can access auth.extra["raw_info"]["avatar"] which will contain the raw avatar hash from Discord. You can use this to see if Discord gave you a nil value and handle this downstream in your application using that.
https://github.com/adaoraul/omniauth-discord/blob/b8d9789170c988250401c4c81b97cb90a0c0d1e1/lib/omniauth/strategies/discord.rb#L23
if user has not an avatar it saves only half of link
The text was updated successfully, but these errors were encountered: