Laravel Custom Authentication | Registration, Login, Logout Process | Laravel login with session | Learning Points
Custom Authentication Steps :
1. Install Laravel Application
2. Setup laravel project
3. Create controller and methods.
4. Create link for login and registration url.
5. Create login and registration page
6. Add bootstrap in it, so that it will loop more professional. Or you can add your own style.
7. Link Login and registration page so that we can go one page to another page.
8. Create Model and migration.
9. Configure migration file for your requirement. Then migrate to generate table.
10. Create registration page
11. Add proper validation inside it
12. Register user into system with secure. Use Hash to secure your password.
13. Create for login page.
14. Validate all the fields like for email and password
15. Add logical validation on it. Like - email should exist in system, or match password with encrypted password.
16. Complete proper login process and open dashboard
17. From dashboard user can see there details
18. Can have logout option.
19. Add middlewire inside your application, so that unauthorized can be restrict.
20. Without login or registration user can't access their dashboard.
21. Once user logged in they can't see login and registration page until logged out.