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?
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
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.
Are you using Lock for the signup form that is hosted on your website?
If so, you can pass allowLogin: false in the lock configurations in order to default to the signup page.