# Discourse doesn't re-verify an address changed by SSO

**URL:** <https://meta.discourse.org/t/discourse-doesnt-re-verify-an-address-changed-by-sso/30887>\
**Category:** Bug\
**Tags:** sso, discourseconnect\
**Created:** [July 8, 2015, 9:52am UTC](https://meta.discourse.org/t/discourse-doesnt-re-verify-an-address-changed-by-sso/30887 "2015-07-08T09:52:08Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![sascha](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sascha/32/71383_2.png) [@sascha](https://meta.discourse.org/u/sascha)\
**Post date:** [April 28, 2017, 1:28am UTC](https://meta.discourse.org/t/discourse-doesnt-re-verify-an-address-changed-by-sso/30887/15 "2017-04-28T01:28:58Z")

</div>

I’d like to vote for this as well. Our IdP currently allows users to change their email address without verification, which in 2 steps allows a user to completely hijack an existing Discourse user.

1. Change the email address to some other existing user, sign on using SSO, it will update the external\_id of that user.
2. Change the email address back, now the external\_email of that user is updated as well.

Does it make sense to provide a way of disabling 1)? The external\_id of a user should be immutable and the email address should not be used to look up users?

And of course, updating a users email address in Discourse with require\_activation=true should send an activation email for that address.

---

_[View the full topic](https://meta.discourse.org/t/discourse-doesnt-re-verify-an-address-changed-by-sso/30887)._
