Login
The kit comes with a default login page. You can find that in the src/app/login/page.tsx
file and can be accessed from /login
route.
API
The login page uses the /api/login
route to authenticate the user. You can find that in the src/app/api/login/route.ts
file. It sends out information about the logged in user such as name, email, team details and plan details so that the frontend can use them accordingly. More about it here.
Customization
You can customize the login page by creating a new page in the src/app/login/page.tsx
file.