Re-verify Google Calendar sync after the Keycloak migration #41
Labels
No labels
bug
chore
data
feature
frontend
good first issue
intermediate
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/cal#41
Loading…
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?
Goal
Saving an event to your own Google Calendar is a core reason to use CMUCal. Auth moved from Clerk to Keycloak (#13), so we need to prove the Google flow still works end to end.
Current state
api/app/api/google.py(/authorize,/oauth/callback,/calendar/status,/calendars/init,/calendar/events/add,/calendar/events/<id>DELETE). Google credentials live in the Flask session cookie (session["credentials"]), not in the DB.web/src/app/components/ConnectGoogleButton.tsx; save/unsave inweb/src/context/EventStateContext.tsx(calls/google/calendar/events/addafter saving).withBearer(axios)inweb/src/app/utils/api/api.ts).https://api.cmucal.com/api/google/oauth/callback; local is port 5001 only, butdocs/getting-started.mdruns the API on 8080.Scope
/unauthorize) and reconnect.PORT=5001and matchingGOOGLE_REDIRECT_URI/NEXT_PUBLIC_API_URL, or register the 8080 callback. Document whichever you pick indocs/getting-started.md.Done when
docs/getting-started.mdexplains how to test Google sync locally.Notes
Mobile has no Connect Google button today; that is tracked in the mobile layout issue.