Repository navigation
feat(web): turn on Google sign in and link the privacy page - #44
Merged
Merged
Conversation
Production gets the Google provider (client id in config.toml, secret from the GitHub production environment) and the google_auth flag turns on in a migration; seed.sql keeps it off locally, where there is no provider. Email confirmation stays on: seats and email-bound invites trust a confirmed address, and the security and deployment docs now say so. The sign-up privacy note becomes a shared PrivacyNote, shown on sign in too, and the landing footer links the privacy page. Co-authored-by: Ferrin <[email protected]> Co-authored-by: noorelmosrati <[email protected]>
musa-kal
force-pushed
the
feat/google-sign-in-v2
branch
from
November 16, 2026 22:58
c772368 to
b85c778
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Turn on Sign in with Google in production and link the privacy page from sign in and the landing page.
No secret may be committed. Apple stays off.
What Changed
supabase/config.tomlgets a[remotes.production.auth.external.google]block with the public client id. The secret is read fromenv(SUPABASE_AUTH_EXTERNAL_GOOGLE_SECRET)and is not committed. A new migration,20261116230000_google_sign_in_on.sql, setsapp_config.google_authtotrue.supabase/seed.sqlsets it back tofalse, so local stacks, which have no Google provider, keep the button hidden.PrivacyNoteinauth-parts.tsx. It now shows on both sign in and sign up, with a new sign in test checking that the link opens the guide's privacy page in a new tab. The landing page footer also links the privacy page, with a newapp.landing.footer.privacystring in de, en, es, fr and pt.docs/security.md,deployment.md,launch-checklist.mdandsplitwise-parity.mdto say Google sign in is on, including the production secret setup.Risk Assessment
✅ Low: The change is small and matches the intent: no secret is committed, email confirmation stays on, Apple stays off, seed.sql keeps the 01_schema expectation, and PrivacyNote is a straight extraction. The only risk is the deploy order between the flag migration and the provider config push.
Testing
Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
supabase/migrations/20261116230000_google_sign_in_on.sql:3- Rollout ordering: deploy.yml runssupabase db push(applies 20261116230000_google_sign_in_on.sql, turninggoogle_authon so OAuthButtons shows Google) beforesupabase config push(which enables the provider from [remotes.production.auth.external.google]). If config push fails (e.g. SUPABASE_AUTH_EXTERNAL_GOOGLE_SECRET missing or wrong in the production environment), production keeps a visible Google button whose signInWithOAuth returns 'provider is not enabled'. Even on success there is a short window with the same effect. Options: runconfig pushbeforedb pushin .github/workflows/deploy.yml:57-58, or confirm the secret is set before merging. deploy.yml is outside this change, so this needs the author's call.⏭️ **Test** - skipped
Step was skipped.
✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.