Skip to main content

๐Ÿ”‘ Authentication

SaaSykit offers a complete authentication system out of the box. It is based on Laravel's authentication system, but it has been extended to support seamless authentication flows for SaaS applications.

Authentication Flowsโ€‹

User Registrationโ€‹

Registration screen

The user registration flow is pretty standard. The user fills in the registration form, submits it, and receives a verification email. Once the user clicks on the verification link, the user is redirected to the login page.

User email verification is not enforced by default, but you can easily "lock" certain pages behind the email verification wall. For example, you can lock the dashboard page behind the email verification wall, by implementing a middleware that checks if the user is verified or not.

Your users can also register using their social accounts (Google, Facebook, X, etc), if you enable that in the Admin Panel. Check Oauth Social Login for more information on how to enable social login.

The registration form is shown in a focused layout to avoid any distractions that might prevent the user from completing the registration process.

If a users chooses a plan from your plans to subscribe for, the user will be redirected automatically to the checkout page after they register to provide a the smoothest subscription experience.

User Loginโ€‹

Registration screen

The user login flow is also pretty standard. The user fills in the login form, submits it, and is redirected to their dashboard page.

Just like the registration flow, your users can also login using their social accounts (Google, Facebook, X, etc), if you enable that in the Admin Panel. Check Oauth Social Login for more information on how to enable social login.

Password Resetโ€‹

Registration screen

The password reset flow is also pretty standard. The user fills in the password reset form, submits it, and receives a password reset email. Once the user clicks on the password reset link, the user is redirected to the password reset page.

Blocking Usersโ€‹

Registration screen

You can block users from the Admin Panel. Blocked users will not be able to login to your application.