Priority: High
Difficulty: Advanced
Type: Frontend Feature
Description:
Integrate the Google SSO backend into the frontend login flow. The Google button already exists in UI; this task makes it functional.
Requirements:
- On Google button click → redirect to backend endpoint
/auth/google.
- Handle the callback response:
- Extract JWT returned from backend.
- Save JWT into Redux store (
authSlice).
- Persist JWT to
localStorage for session.
- Update global auth state (user logged in = true).
- Provide loading/error feedback during login.
Acceptance Criteria:
- Clicking Google button opens Google login and completes flow.
- JWT is stored in Redux + localStorage.
- Logged-in state is reflected in the app (e.g., console shows
User authenticated).
- Works with Redux DevTools.
Priority: High
Difficulty: Advanced
Type: Frontend Feature
Description:
Integrate the Google SSO backend into the frontend login flow. The Google button already exists in UI; this task makes it functional.
Requirements:
/auth/google.authSlice).localStoragefor session.Acceptance Criteria:
User authenticated).