Differences between login and sign up?

What’s the difference between sign up and login? Because when testing the default forms they look identical and no matter what I can proceed with “google”.

I understand signup to create a new account but if someone is logging in via google, it shows up on both, and there seems like no point.

We need to run login every time a new user “registers” but that seems like it could be either login via third party service, or sign up with email/password.

1 Like

Hi @botsko

Welcome back to the Auth0 Community!

That a great question! Here’s a small breakdown in terms of difference between login and signup:

Sign Up:

This is typically the process a user undergoes when they first interact with your application. When a user signs up, they’re creating a new account. This could be done by providing an email and a password, or by using a social provider like Google, Facebook, etc.

Log In:

Logging in is the process a user undergoes when they want to access their existing account. They can log in using the credentials they created during the sign-up process (i.e., their email and password), or by using the same social provider they used to sign up.

When using social providers like Google, the process can indeed look very similar. In both cases, users are redirected to the social provider’s page where they authenticate, and then they’re redirected back to your application.

The main difference is that when a user clicks “Sign Up” and authenticates with a social provider, Auth0 will attempt to create a new user account. If an account associated with that social provider’s email already exists, Auth0 will not create a new account, and will instead just log the user in.

When a user clicks “Log In” and authenticates with a social provider, Auth0 will not attempt to create a new account, and will instead just try to log the user in. If no account associated with that social provider’s email exists, the login will fail.

In other words, the sign-up process can also log users in, but the login process can’t create new user accounts. It’s also worth mentioning that, from a security standpoint, it’s usually best to keep these processes separate to avoid confusion and potential security risks.

I hope it will help you!

Thanks and have a great day!

Dawid

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