chore: sync company backup 2026-04-13
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>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# 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: `0829f9f` on branch `fix/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
|
||||
Reference in New Issue
Block a user