# Bypass the account creation modal when using OAuth2

**URL:** <https://meta.discourse.org/t/bypass-the-account-creation-modal-when-using-oauth2/110123>\
**Category:** Product Support\
**Created:** [26 בפברואר,‏ 2019,‏ 1:23pm UTC](https://meta.discourse.org/t/bypass-the-account-creation-modal-when-using-oauth2/110123 "2019-02-26T13:23:56Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [1 במרץ,‏ 2019,‏ 1:55pm UTC](https://meta.discourse.org/t/bypass-the-account-creation-modal-when-using-oauth2/110123/11 "2019-03-01T13:55:15Z")

</div>

> [@ryancey](#):
>
> I’m now welcomed by this modal

Update your `User.create` line to include `active: true`

> [@ryancey](#):
>
> This method is in my `discourse-oauth2-plugin` fork, shouldn’t it stay stable

In theory, yes

---

_[View the full topic](https://meta.discourse.org/t/bypass-the-account-creation-modal-when-using-oauth2/110123)._
