# Import profile picture for GitHub OAuth

**URL:** https://meta.discourse.org/t/import-profile-picture-for-github-oauth/69279
**Category:** Announcements
**Created:** [2017年八月24日 00:34 UTC](https://meta.discourse.org/t/import-profile-picture-for-github-oauth/69279 "2017-08-24T00:34:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2017年八月24日 00:34 UTC](https://meta.discourse.org/t/import-profile-picture-for-github-oauth/69279/1 "2017-08-24T00:34:45Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2023年十二月1日 12:12 UTC](https://meta.discourse.org/t/import-profile-picture-for-github-oauth/69279/2 "2023-12-01T12:12:20Z")

</div>


