# Change email doesn't work for an OAuth'ed account

**URL:** https://meta.discourse.org/t/change-email-doesnt-work-for-an-oauthed-account/62012
**Category:** Support
**Created:** [3 Mayo, 2017 00:19 UTC](https://meta.discourse.org/t/change-email-doesnt-work-for-an-oauthed-account/62012 "2017-05-03T00:19:10Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![jsha](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jsha/32/48894_2.png) [@jsha](https://meta.discourse.org/u/jsha)
#### Post date: [3 Mayo, 2017 00:19 UTC](https://meta.discourse.org/t/change-email-doesnt-work-for-an-oauthed-account/62012/1 "2017-05-03T00:19:10Z")

</div>

At [community.letsencrypt.org](http://community.letsencrypt.org), one of our users signed up using GitHub. They had an old, dead email address on their GitHub account. After signing up with Discourse, they removed the old, dead email address from GitHub. However, it’s still present in Discourse. When they go to their preferences page and try to update to a new email, they get a message saying a confirmation email has been sent. However, they never receive a confirmation email. When I change my own email, I do get the confirmation. Could this be linked to the OAuth setting? What should I do to further debug / fix?

Thanks,  
Jacob

---

<div class="post-metadata">

### Author: ![hexa\_tech](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hexa_tech/32/80200_2.png) [@hexa\_tech](https://meta.discourse.org/u/hexa_tech)
#### Post date: [3 Mayo, 2017 00:28 UTC](https://meta.discourse.org/t/change-email-doesnt-work-for-an-oauthed-account/62012/2 "2017-05-03T00:28:30Z")

</div>

Hey @jsha!

Would it work if you had the user remove the connection between GitHub and Discourse and reconnect it?

---

<div class="post-metadata">

### Author: ![jsha](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jsha/32/48894_2.png) [@jsha](https://meta.discourse.org/u/jsha)
#### Post date: [3 Mayo, 2017 01:27 UTC](https://meta.discourse.org/t/change-email-doesnt-work-for-an-oauthed-account/62012/3 "2017-05-03T01:27:32Z")

</div>

@Hexa, I’ll ask, thanks!

---

<div class="post-metadata">

### Author: ![hexa\_tech](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hexa_tech/32/80200_2.png) [@hexa\_tech](https://meta.discourse.org/u/hexa_tech)
#### Post date: [3 Mayo, 2017 01:28 UTC](https://meta.discourse.org/t/change-email-doesnt-work-for-an-oauthed-account/62012/4 "2017-05-03T01:28:21Z")

</div>

No Problem! Let me know if you have any other questions!

---

<div class="post-metadata">

### Author: ![jsha](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jsha/32/48894_2.png) [@jsha](https://meta.discourse.org/u/jsha)
#### Post date: [3 Mayo, 2017 20:53 UTC](https://meta.discourse.org/t/change-email-doesnt-work-for-an-oauthed-account/62012/5 "2017-05-03T20:53:12Z")

</div>

Follow-up: Are you proposing to remove the connection at the Discourse end or the GitHub end? If you’re proposing to disconnect it at the Discourse end, where is the UI for that? And will the user be able to still log in once they’ve removed the OAuth connection?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [3 Mayo, 2017 21:25 UTC](https://meta.discourse.org/t/change-email-doesnt-work-for-an-oauthed-account/62012/6 "2017-05-03T21:25:46Z")

</div>

Is this user a moderator? Staff members must confirm email changes on both the old and new addresses to stop account takeovers.

---

<div class="post-metadata">

### Author: ![jsha](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jsha/32/48894_2.png) [@jsha](https://meta.discourse.org/u/jsha)
#### Post date: [3 Mayo, 2017 23:28 UTC](https://meta.discourse.org/t/change-email-doesnt-work-for-an-oauthed-account/62012/7 "2017-05-03T23:28:06Z")

</div>

They are a moderator. So are you saying that if I remove the moderator bit, they’ll be able to change email address?

---

<div class="post-metadata">

### Author: ![jsha](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jsha/32/48894_2.png) [@jsha](https://meta.discourse.org/u/jsha)
#### Post date: [3 Mayo, 2017 23:31 UTC](https://meta.discourse.org/t/change-email-doesnt-work-for-an-oauthed-account/62012/8 "2017-05-03T23:31:28Z")

</div>

Awesome, that fixed it! Thanks so much!

Feature request: When doing email changes for moderators, it would be nice to include messaging about the dual-confirmation requirement, either in the Web UI when submitting the request, or by sending mail to both old and new addresses in parallel, and including a note about the dual confirmation in the mail that goes to the new address.

---

<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: [8 Junio, 2024 12:44 UTC](https://meta.discourse.org/t/change-email-doesnt-work-for-an-oauthed-account/62012/9 "2024-06-08T12:44:54Z")

</div>

Este tema se cerró automáticamente después de 2593 días. Ya no se permiten nuevas respuestas.
