# Recreating the single sign on logic for generating usernames

**URL:** <https://meta.discourse.org/t/recreating-the-single-sign-on-logic-for-generating-usernames/67748>\
**Category:** Development\
**Created:** [Août 10, 2017, 12:11 UTC](https://meta.discourse.org/t/recreating-the-single-sign-on-logic-for-generating-usernames/67748 "2017-08-10T00:11:46Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jerdog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jerdog/32/122843_2.png) [@jerdog](https://meta.discourse.org/u/jerdog)\
**Post date:** [Janvier 5, 2018, 5:05 UTC](https://meta.discourse.org/t/recreating-the-single-sign-on-logic-for-generating-usernames/67748/5 "2018-01-05T17:05:26Z")

</div>

Ok - so if we use SSO (Auth0) and when it goes to create a username, if there’s one already existing in Discourse with that name then it will create a different one, like a variation?

---

_[View the full topic](https://meta.discourse.org/t/recreating-the-single-sign-on-logic-for-generating-usernames/67748)._
