Skip to content

Commit 3339705

Browse files
vercel-gh-bot-4[bot]vercel-gh-bot-2[bot]molebox
authored
[skills] Sync auth with current docs (#316)
* [skills] Sync auth with current docs <!-- vercel-plugin-drift-agent --> * [skills] Correct Clerk Core 3 minimum Next.js version @clerk/nextjs v7 peers on next ^15.2.8 || ^15.3.8 || ^15.4.10 || ^15.5.9 || ^16.0.10, and Clerk corrected its upgrade guidance (clerk/javascript#9790). --------- Co-authored-by: vercel-gh-bot-2[bot] <282331341+vercel-gh-bot-2[bot]@users.noreply.github.com> Co-authored-by: molebox <rich@vercel.com>
1 parent 08c6ed5 commit 3339705

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎skills/auth/SKILL.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ Server plugin + matching client plugin + re-run migrations.
468468
| Passkeys (WebAuthn) | `passkey` from `@better-auth/passkey` | `passkeyClient` |
469469
| Enterprise SSO (SAML/OIDC) | `sso` from `@better-auth/sso` | — |
470470
| Stripe subscriptions | `stripe` from `@better-auth/stripe` | `stripeClient` |
471-
| Third-party tokens via Vercel Connect | `genericOAuth` + `connect` from `@vercel/connect/betterauth` | — |
471+
| Sign in through a Vercel Connect connector | `genericOAuth` from `better-auth/plugins/generic-oauth` + `connect` from `@vercel/connect/betterauth` | — (v1.7 signs in with `authClient.signIn.social`; `genericOAuthClient` only exists on v1.6 and earlier) |
472472

473473
### Agent Tooling
474474

@@ -642,7 +642,7 @@ Clerk provides an upgrade CLI that scans your codebase and applies codemods: `np
642642
- **`ClerkProvider` must be inside `<body>`, not wrapping `<html>`** — the CLI handles this automatically
643643
- **`@clerk/types` removed** — import types from the SDK's own `/types` entry point, or `@clerk/shared/types` for framework-agnostic code
644644
- **Redirect props renamed** — `afterSignInUrl`/`afterSignUpUrl`/`redirectUrl` → `fallbackRedirectUrl`/`signUpFallbackRedirectUrl`/`forceRedirectUrl`
645-
- **Minimum Next.js version: 15.2.3** — Next.js 13 and 14 are no longer supported
645+
- **Minimum Next.js version: 15.2.8 (or 16.0.10 on Next.js 16)** — later 15.x minors need their patched releases too (15.3.8+, 15.4.10+, 15.5.9+); Next.js 13 and 14 are no longer supported
646646
- **Satellite domains** — apps no longer auto-redirect on first visit; set `satelliteAutoSync: true` in middleware and `ClerkProvider` to restore Core 2 behavior
647647
- **`getToken()` throws `ClerkOfflineError` when offline** — previously returned `null`; still returns `null` when signed out
648648

@@ -653,7 +653,7 @@ Clerk provides an upgrade CLI that scans your codebase and applies codemods: `np
653653
- **Accessing protected deployments from CLI or tests** → `⤳ skill: access-protected-vercel-deployment`
654654
- **Environment variable management** → `⤳ skill: env-vars`
655655
- **Neon Postgres / Upstash Redis for Better Auth** → `⤳ skill: vercel-storage`
656-
- **Third-party OAuth tokens through Better Auth (`@vercel/connect/betterauth`)** → `⤳ skill: vercel-connect`
656+
- **Sign-in through a Vercel Connect connector with Better Auth (`@vercel/connect/betterauth`); provider API tokens use `getToken()`** → `⤳ skill: vercel-connect`
657657

658658
## Official Documentation
659659

0 commit comments

Comments
 (0)