mirror of
https://github.com/pupperpowell/bibdle.git
synced 2026-04-05 17:33:31 -04:00
Adds Google OAuth alongside existing Apple and email/password auth. Follows the same patterns as Apple Sign-In: state cookie for CSRF, anonymousId migration, and user linking by email. Key differences: Google callback is a GET redirect (sameSite: lax) and uses a static client secret instead of a signed JWT. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 lines
209 B
SQL
3 lines
209 B
SQL
ALTER TABLE `daily_completions` ADD `guesses` text;--> statement-breakpoint
|
|
ALTER TABLE `user` ADD `google_id` text;--> statement-breakpoint
|
|
CREATE UNIQUE INDEX `user_google_id_unique` ON `user` (`google_id`); |