# GitHub login with multiple email addresses

**URL:** <https://meta.discourse.org/t/github-login-with-multiple-email-addresses/54366>\
**Category:** Support\
**Created:** [16 Diciembre, 2016 18:57 UTC](https://meta.discourse.org/t/github-login-with-multiple-email-addresses/54366 "2016-12-16T18:57:10Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![kpfleming](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kpfleming/32/116414_2.png) [@kpfleming](https://meta.discourse.org/u/kpfleming)\
**Post date:** [3 Enero, 2017 14:25 UTC](https://meta.discourse.org/t/github-login-with-multiple-email-addresses/54366/4 "2017-01-03T14:25:56Z")

</div>

OK, so here’s my situation: I have a blacklist with one domain on it, but we also have a custom authenticator plugin which is allowed to authenticate users with addresses in that domain. What I want to avoid is a user creating an account using an address from the special domain (using our custom authenticator to do so), but then later using GitHub login with that email address as one of their addresses. I haven’t read the code in the link above, but I believe that our desired behavior should work, as GitHubAuthenticator should reject the login if _any_ address provided by [github.com](http://github.com) is in a blacklist domain.

---

_[View the full topic](https://meta.discourse.org/t/github-login-with-multiple-email-addresses/54366)._
