This repository has been archived on 2026-05-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
app/apps
Paperclip 0829f9ffa2 fix(GRO-545): use socialProviders config key for GitHub/Google in Better-Auth
PR #257 placed google() and github() from better-auth/social-providers into
the plugins[] array. Better Auth v1 does not recognize social providers via
plugins — it reads them from options.socialProviders. This caused Provider
not found (404) on every GitHub/Google sign-in attempt.

Fix: move Google and GitHub configuration from plugins[] to socialProviders{},
passing clientId/clientSecret/redirectURI directly as plain config objects.
Better Auth v1 calls the internal provider factory functions automatically.

Also remove the now-unused import of google and github from
better-auth/social-providers.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-11 14:29:59 +00:00
..