My requirement is to authenticate users by email, but also allow a user to change his/her email later.
To authenticate users by email I'm using email as username as described here. However I can not figure out how to allow changing the user's email, as usernames are immutable.
Is there any way to allow mutable usernames?
Thanks