# Programmatically create user with OAuth2 user ID

**URL:** <https://meta.discourse.org/t/programmatically-create-user-with-oauth2-user-id/196920>\
**Category:** Product Support\
**Created:** [July 12, 2021, 11:26pm UTC](https://meta.discourse.org/t/programmatically-create-user-with-oauth2-user-id/196920 "2021-07-12T23:26:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [July 13, 2021, 10:11am UTC](https://meta.discourse.org/t/programmatically-create-user-with-oauth2-user-id/196920/2 "2021-07-13T10:11:39Z")

</div>

As long as you create the user with the same email address that oauth has you don’t need to worry

---

_[View the full topic](https://meta.discourse.org/t/programmatically-create-user-with-oauth2-user-id/196920)._
