# Improve GitHub login for private sites

**URL:** <https://meta.discourse.org/t/improve-github-login-for-private-sites/44836>\
**Category:** Feature\
**Created:** [26. Mai 2016 um 13:04 UTC](https://meta.discourse.org/t/improve-github-login-for-private-sites/44836 "2016-05-26T13:04:34Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![JaredReisinger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jaredreisinger/32/103449_2.png) [@JaredReisinger](https://meta.discourse.org/u/JaredReisinger)\
**Post date:** [21. September 2016 um 21:34 UTC](https://meta.discourse.org/t/improve-github-login-for-private-sites/44836/7 "2016-09-21T21:34:41Z")

</div>

That’s exactly what my currently-a-plugin-but-feels-awkward does… preference goes to the first email address returned by GitHub that passes the EmailValidator check.

I’ll spend a teeny bit more time seeing if I can’t find a way to make this a plugin that simply co-opts the existing GitHub after\_authenticate step, but if I can’t figure that out I’ll just make it a PR on discourse proper.

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/improve-github-login-for-private-sites/44836)._
