Commit Graph

5 Commits

Author SHA1 Message Date
Chris Farhood 213a2b3583 fix: register jwt() plugin (oauth-provider requires it; else jwt_config error)
build / test (push) Successful in 15s
build / build (push) Successful in 6s
2026-07-05 18:48:03 -04:00
Chris Farhood 5532191ab5 feat: use current @better-auth/oauth-provider (drop deprecated oidc-provider)
build / test (push) Successful in 7s
build / build (push) Successful in 14s
Current OAuth 2.1 provider plugin (versioned with core, 1.6.23). Bundles JWT
(access tokens verifiable at /jwks), DCR via /oauth2/register incl. unauthenticated
registration (MCP clients register before they have creds), skipConsent since
sign-in is the authorization for a personal connector.
2026-07-05 16:38:57 -04:00
Chris Farhood 8e67f1d4e2 db: use shared default schema (no separate-schema bootstrap needed)
build / test (push) Successful in 13s
build / build (push) Successful in 5s
2026-07-05 16:25:09 -04:00
Chris Farhood f88687c182 fix: pin better-auth 1.6.23, drop stale CLI, programmatic migrations, fix CI
build / test (push) Successful in 20s
build / build (push) Successful in 14s
- Explicitly track latest core (1.6.23); the @better-auth/cli lags at 1.4.21 and
  pulled a second core copy — replaced with a getMigrations() script on the same
  version (src/migrate.ts).
- CI build job matches the proven pattern (no setup-buildx; plain build/push).
2026-07-05 16:20:40 -04:00
Chris Farhood f47d873262 feat: Better Auth OAuth/OIDC server for the Intervals.icu MCP product
build / test (push) Successful in 20s
build / build (push) Failing after 29s
DCR-capable (RFC 7591) OAuth authorization server so Claude's MCP connector
self-registers — the thing Authentik can't do until 2026.8.0. Users sign in with
Google/Apple; oidcProvider + jwt issue asymmetric JWTs (JWKS) the MCP server
verifies. Shares the existing CNPG Postgres (own `betterauth` schema).

Scaffold: auth config, minimal Node server + login page, Dockerfile, CI.
2026-07-05 16:14:32 -04:00