# How to import pre-sso discourse users?

**URL:** <https://meta.discourse.org/t/how-to-import-pre-sso-discourse-users/47858>\
**Category:** SSO\
**Created:** [27 juli 2016 om 09:51 UTC](https://meta.discourse.org/t/how-to-import-pre-sso-discourse-users/47858 "2016-07-27T09:51:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [27 juli 2016 om 22:50 UTC](https://meta.discourse.org/t/how-to-import-pre-sso-discourse-users/47858/3 "2016-07-27T22:50:46Z")

</div>

To clarify: There is no difference between “SSO users” and “regular users”.

The only difference is in whether Discourse knows the external id of the user. When logging in a users, Discourse proceeds like this:

1. Do I know a user with this external id? If so, log him in, and possibly update his email.
2. Otherwise, do I know a user with this email? If so, _remember his external id_, and log him in.
3. Otherwise, create a new account.

---

_[View the full topic](https://meta.discourse.org/t/how-to-import-pre-sso-discourse-users/47858)._
