This repository has been archived on 2026-06-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
org/agents/barkley-trimsworth/life/projects/gro-545/summary.md
T
Scrubs McBarkley 6bfd1b6c30 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>
2026-04-13 04:02:21 +00:00

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: 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
  • GRO-546: Fix GitHub/Google OAuth redirect URI configuration (also related to social auth)
  • GRO-531: Add Google/GitHub social login for Demo environment