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

<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:** [26 בפברואר,‏ 2019,‏ 2:28pm UTC](https://meta.discourse.org/t/bypass-the-account-creation-modal-when-using-oauth2/110123/4 "2019-02-26T14:28:24Z")

</div>

> [@ryancey](#):
>
> create the account automatically

We do exactly this in the official SAML plugin.

> [@RGJ](#):
>
> I have no idea why this is not a default feature.

The reason we show the modal is so that people can change their Name/Username if the “Social login provider” doesn’t have the best information available. For things like facebook/twitter this makes a lot of sense, but it makes less sense when corporate SAML/OAuth/OIDC is being used.

I think a core site setting for “Automatically create accounts” would be useful. But we would need to think about whether it should work when registration is disabled.

---

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