# Cambiar la clave única para identificar usuarios

**URL:** <https://meta.discourse.org/t/changing-the-unique-key-to-identify-users/84457>\
**Category:** SSO\
**Created:** [3 Abril, 2018 11:43 UTC](https://meta.discourse.org/t/changing-the-unique-key-to-identify-users/84457 "2018-04-03T11:43:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [3 Abril, 2018 12:13 UTC](https://meta.discourse.org/t/changing-the-unique-key-to-identify-users/84457/4 "2018-04-03T12:13:01Z")

</div>

Yes. More specifically, when the user logs in, this is what happens:

1. Is a user with this external id already known? If so, log in. Otherwise, continue.
2. If a user with this email already known? If so, _associate the external id with the account_, and log in. Otherwise, continue.
3. Create an account with the specified email and store the external id. Then, log in.

---

_[View the full topic](https://meta.discourse.org/t/changing-the-unique-key-to-identify-users/84457)._
