Import profile picture for GitHub OAuth


(Alan Tan) #1

GitHub profiles can hold their own avatar for use by other platforms. The GitHub authentication behaviour is now consistent with the existing Facebook/Twitter authentication:

  • if the user has uploaded a custom avatar on Discourse, nothing happens
  • if not: Retrieve and upload the avatar from GitHub. Select this as the avatar unless the user has selected gravatar.

Thank you @xrav3nz for the PR!


Import GitHub image as profile image when authenticating with GitHub