sandstorm-io/sandstorm

Profile settings: refresh avatar option.

Open

#3,529 建立於 2021年6月6日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (6,583 star) (737 fork)batch import
bite-sizeenhancementgood first issueshell

描述

When a user logs in for the first time via GitHub or Google, Sandstorm queries the identity provider for a profile picture and uses that. However, if the user later changes their profile picture via the identity provider, we never get the update, and the user has no way to propagate the update other than to manually upload the same image. We probably don't want to be polling continuously, but it would be nice if there was just a button to refresh it directly.

Note also that, if we added such a button, we could use a similar flow to let users import a picture from gravatar for email logins -- right now we don't query gravatar on account creation because that would be a privacy leak, but an "import from gravatar" button wouldn't be an issue, since the user is opting in to the fetch.

貢獻者指南

Profile settings: refresh avatar option. · sandstorm-io/sandstorm#3529 | Good First Issue