# 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:** 1

<div class="post-metadata">

**Author:** ![ryancey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryancey/32/99309_2.png) [@ryancey](https://meta.discourse.org/u/ryancey)\
**Post date:** [26 בפברואר,‏ 2019,‏ 1:23pm UTC](https://meta.discourse.org/t/bypass-the-account-creation-modal-when-using-oauth2/110123/1 "2019-02-26T13:23:56Z")

</div>

When logging in via OAuth2 (custom server) for the first time, the user is welcomed by this account creation modal.

 ![41](https://global.discourse-cdn.com/meta/original/3X/b/e/be914c2d326c158dde2462001d8d879ad72839db.png)

Why popping it if all the infos are valid? Why not create the account automatically?

**Is there any way to bypass it?**

In my case, it adds confusion to the user because he’s supposed to have a single account (the OAuth2 one) for several apps. Nevertheless, I think it it should pop if the infos are invalid (conflict or such).

The other solution for me would be to create the user via the API beforehand (when its OAuth2 account is created), then the window doesn’t appear at first login, but it forces me to _enable local logins_ and I’d prefer not to.

---

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