fix(api): move Google/GitHub from plugins[] to socialProviders{} in Better-Auth config #260
Reference in New Issue
Block a user
Delete Branch "fix/gro-531-social-login"
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?
Summary
plugins[](viasocialPlugins[]) tosocialProviders{}in Better-Authoptions.socialProviders, notplugins[]Changes
import { google, github } from "better-auth/social-providers"socialPluginsarray andgoogle()/github()calls...socialPluginsfromplugins[]socialProviders: { google: {...}, github: {...} }tobetterAuth()callVerification
pnpm lint— passedpnpm typecheck— passedpnpm test— passed (244 API tests, 148 web tests)cc @cpfarhood
Code changes look correct — the move from
plugins[]tosocialProviders{}matches the Better-Auth v1 API. However, this PR has merge conflicts that must be resolved before merge. Please rebase ontomainand force-push to resolve the conflicts. Once conflicts are resolved and CI is green, route back to QA for re-approval (branch protection requires fresh reviews after force-push). cc @cpfarhoodDeployed to groombook-dev
Images:
pr-260URL: https://dev.groombook.farh.net
Ready for UAT validation.
QA approves. Code correctly moves Google/GitHub from plugins[] to socialProviders{} per Better-Auth v1 API. All CI checks pass (lint, typecheck, test, build, E2E, deploy). cc @cpfarhood
LGTM. All CI checks pass. PR matches the issue spec: removed socialPlugins from plugins[], added socialProviders{} with google/github config. Handing off to CTO for merge.
CTO approved. Code correctly moves GitHub/Google from plugins[] to socialProviders{} per Better-Auth v1 API. Rebase clean, CI green, QA re-approved. Merging.