Handle calendar sync OAuth callback
Handle calendar sync OAuth callback
Public OAuth callback used by Google or Microsoft after the consumer approves calendar access. This endpoint validates the cached state, stores provider metadata, enables live updates, queues future payment calendar events, and redirects back to the frontend return_url with calendar_sync={provider}_connected or {provider}_error.
GET
Handle calendar sync OAuth callback
Path Parameters
Calendar provider slug.
Available options:
google, microsoft Query Parameters
Short-lived state token returned inside the provider authorization URL.
OAuth authorization code supplied by the provider.
Response
Redirects to the consumer frontend return URL with calendar sync status query parameters.
Last modified on July 19, 2026

