Remove login / auth functionality from the web
Mirror of the same change in droidconKE/droidconKE2022Web — the repos share the auth stack.
We're dropping user accounts on the site — reviews/feedback are going anonymous. The backend already supports anonymous feedback (endpoints are public and store anonymously); see droidconKE/droidconEventsBanckend#109. Remove the whole login/auth stack from the web.
Remove
Adjust
Acceptance
- No login UI anywhere; feedback can be submitted without an account; no auth tokens stored; build passes with the OAuth dep removed.
Depends on
- droidconKE/droidconEventsBanckend#109 (finalize anonymous reviews/feedback)
cc @NewtonMutugi
Remove login / auth functionality from the web
We're dropping user accounts on the site — reviews/feedback are going anonymous. The backend already supports anonymous feedback (endpoints are public and store anonymously); see droidconKE/droidconEventsBanckend#109. Remove the whole login/auth stack from the web.
Remove
context/AuthContext.tsx(AuthProvider/useAuth) and theAuthProviderwrap incomponents/layouts/default.tsxcomponents/auth/Login.tsx+ its modal usageGoogleOAuthProvider, the@react-oauth/googledependency, andNEXT_PUBLIC_GOOGLE_CLIENT_IDcomponents/layouts/components/NavBar.tsxAuthorizationheaders on API callsAdjust
pages/sessions/[slug].tsx,pages/sessions/index.tsx,EventFeedback) → submit anonymously, no token. BE endpoints already accept this.hooks/useStarSession.ts/ session bookmarking — currently auth-gated (BE/bookmark_schedulerequiresauth:sanctum). Decide with BE (#109): remove the star/bookmark feature, or move it to local storage.NotificationsPromptand any UI gated on auth /NEXT_PUBLIC_EVENT_READYlogin stateAcceptance
Depends on
cc @NewtonMutugi