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.
- Change the email address to some other existing user, sign on using SSO, it will update the external_id of that user.
- 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.