Appearance
Authentication
JetShip offers a comprehensive authentication system, extending Laravel's built-in authentication system for SaaS applications.
User Registration
Registering a user in JetShip is straightforward. Users can register using one of the following methods:
- Simply filling the registration form by providing email id, username & password.
- Using Social media accounts.
Let's discuss both of them one by one.
When using the registration form, the user follows this process:
- The user fills in the registration form with their email address, username, and password.
- Upon submitting the form, the user receives a verification email.
- The verification email contains a link that, when clicked, redirects the user to the login page.
Email verification is optional by default. However, you can restrict access to certain pages until email verification is completed. For instance, you can restrict the dashboard page by implementing middleware that checks the user's verification status.
Users can also register using social accounts like Google, Twitter, and Facebook. You can enable or disable social logins in the admin panel. For more details on configuring social logins, please refer to Social Login Configuration.
User Login
User can use any of below three methods to log in
- By filling login form
- By using their social accounts
- By using the password-less login(a.k.a. magic link)
Let's discuss each method in detail.
Filling the Login Form In this method, the user needs to provide their credentials (email and password). Upon submitting the form, the user will be logged in if the credentials are correct.
Using Social Accounts Users can log in using their social accounts, such as Facebook, Twitter, and GitHub, provided social login is enabled. This feature can be enabled or disabled from the admin panel. For detailed instructions on configuring social logins, please refer to Social Login Configuration.
Password-less Login (Magic Link) In this method, the user provides their email address, and they will receive a login link via email. Clicking this link will log the user in automatically.
Password Reset
Users can reset their passwords using the password reset form. Upon submitting this form, users receive a password reset link via email. Clicking this link redirects them to the password reset page.