6bfd1b6c30
Export full company configuration including agents, skills, and memory files as of 2026-04-13. Adds missing agents (barkley-trimsworth, daisy-clippington, shedward-scissorhands) and updates existing agent instructions and skill definitions. Co-Authored-By: Paperclip <noreply@paperclip.ing>
1.1 KiB
1.1 KiB
GRO-545: GitHub/Google Auth
Summary
Fixed GitHub/Google OAuth sign-in for GroomBook by correctly configuring Better Auth v1 social providers.
Status: COMPLETED
- Fix committed:
0829f9fon branchfix/gro-545-social-providers-config - Typecheck: PASS
- Lint: PASS (only pre-existing warnings)
- Tests: 13/13 auth tests PASS
Problem
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.
Solution
Move Google and GitHub configuration from plugins[] to socialProviders{} in apps/api/src/lib/auth.ts, passing clientId/clientSecret/redirectURI directly as plain config objects.
Key Files
- apps/api/src/lib/auth.ts (fix location)
- apps/api/src/tests/auth.test.ts
- apps/api/src/tests/authProvider.test.ts
Related Issues
- GRO-546: Fix GitHub/Google OAuth redirect URI configuration (also related to social auth)
- GRO-531: Add Google/GitHub social login for Demo environment