# Google sign-up - via universal login

**URL:** <https://community.auth0.com/t/google-sign-up-via-universal-login/55874>\
**Category:** Get Help\
**Tags:** google-signup\
**Created:** [January 8, 2021, 9:12am UTC](https://community.auth0.com/t/google-sign-up-via-universal-login/55874 "2021-01-08T09:12:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![scotts](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/scotts/32/25429_2.png) [@scotts](https://community.auth0.com/u/scotts)\
**Post date:** [January 8, 2021, 9:12am UTC](https://community.auth0.com/t/google-sign-up-via-universal-login/55874/1 "2021-01-08T09:12:36Z")

</div>

Hi

I’m using the Universal login hosted pages for logging in and have the google-oauth2 social connection enabled which displays the Google button on the login form. Clicking this login button also allows a user who isn’t already registered to also sign-up. (Which is perfect)

On my signup form (which is hosted on my own website) I want to allow people to signup via Google, but I don’t want them to have to go to the login form first (As it would be confusing to show them the login form.).

Is there a way to embed that google button on my own website (So I can essentially skip the hosted login page) but have Google pass the user back through the universal login process and all its logic?

Thanks  
Scott

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [January 8, 2021, 12:26pm UTC](https://community.auth0.com/t/google-sign-up-via-universal-login/55874/3 "2021-01-08T12:26:25Z")

</div>

Hello @scotts,

You can use an [embedded login](https://auth0.com/docs/login/embedded-login) in your app, so long as you use a [custom domain](https://auth0.com/docs/custom-domains) to mitigate [cross-origin authentication](https://auth0.com/docs/login/embedded-login/cross-origin-authentication) issues.

In order to not show the email/password fields in the login form, you can disable your application in the database connection by following these steps:

- In your Auth0 dashboard, go to **Connecctions \> Database**

- Click on **Username-Password-Authentication** (or any other database connection you may have configured for your tenant).

- Go to the Applications tab and toggle off your application

 ![disable-connection](https://global.discourse-cdn.com/auth0/original/3X/b/d/bd613eef3738406953781e0a86c73e835cbb9583.png)

Let me know if you have more questions!

Stephanie

---

<div class="post-metadata">

**Author:** ![scotts](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/scotts/32/25429_2.png) [@scotts](https://community.auth0.com/u/scotts)\
**Post date:** [January 8, 2021, 1:48pm UTC](https://community.auth0.com/t/google-sign-up-via-universal-login/55874/4 "2021-01-08T13:48:02Z")

</div>

Hi

Would turning off the usernmae-password connection would however disable the login form? (Which is something I’m not looking to do)

Thanks  
Scott

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [January 8, 2021, 2:28pm UTC](https://community.auth0.com/t/google-sign-up-via-universal-login/55874/5 "2021-01-08T14:28:25Z")

</div>

Oh, I see! Yes, that is right, the email/password fields would no longer show if you disabled the database connection, so that would not be a good option for you.

> [@scotts](#):
>
> On my signup form (which is hosted on my own website) I want to allow people to signup via Google, but I don’t want them to have to go to the login form first (As it would be confusing to show them the login form.).

Are you using [Lock](https://auth0.com/docs/libraries/lock) for the signup form that is hosted on your website?

If so, you can pass `allowLogin: false` in the [lock configurations](https://auth0.com/docs/libraries/lock/lock-configuration) in order to default to the signup page.

---

<div class="post-metadata">

**Author:** ![scotts](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/scotts/32/25429_2.png) [@scotts](https://community.auth0.com/u/scotts)\
**Post date:** [January 12, 2021, 8:01am UTC](https://community.auth0.com/t/google-sign-up-via-universal-login/55874/6 "2021-01-12T08:01:15Z")

</div>

Thanks, I wasn’t using lock, but I will look into this now.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 27, 2021, 8:01am UTC](https://community.auth0.com/t/google-sign-up-via-universal-login/55874/7 "2021-01-27T08:01:21Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
