Build login page #24
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#25 Build registration page
austin/vektor
#26 Build app layout shell
austin/vektor
#23 Set up API client module
austin/vektor
Reference
austin/vektor#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The entry point for unauthenticated users. Handles local auth login.
What needs to happen
/loginwith email and password fieldsPOST /auth/login//registerAuth state management:
GET /api/meto check if the user is authenticated/loginKey files
web/src/pages/Login.tsx— newweb/src/hooks/useAuth.tsorweb/src/lib/auth-context.tsx— newweb/src/App.tsx— wrap routes with auth provider