Skip to content

[skills] Sync auth with current docs - #316

Merged
molebox merged 2 commits into
mainfrom
eve-drift/auth
Oct 19, 2026
Merged

molebox merged 2 commits into
mainfrom
eve-drift/auth

Conversation

@vercel-gh-bot-4

@vercel-gh-bot-4 vercel-gh-bot-4 Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor
  • Clerk Core 3 breaking changes: "Minimum Next.js version: 15.2.3" → "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+)".

Verification

run_plugin_checks passed every step: build, typecheck, validate, and test (1079 pass, 0 fail).

Test updates

None.

Not changed

Opened automatically by the vercel-plugin drift agent. Review before merge.


Drift scan update 2026-10-15

  • Better Auth plugin table: "Third-party tokens via Vercel Connect | genericOAuth + connect from @vercel/connect/betterauth | —" says the adapter is for third-party tokens and implies genericOAuth comes from @vercel/connect/betterauth. Corrected to "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)". Source: https://vercel.com/docs/connect/frameworks/better-auth (last_updated 2026-09-18): "The @vercel/connect/betterauth adapter lets your application sign users in through a Vercel Connect connector." The page imports genericOAuth from 'better-auth/plugins/generic-oauth'. Its client step (genericOAuthClient, signIn.oauth2) matches better-auth 1.6. In better-auth 1.7.x (latest 1.7.9), genericOAuthClient is gone and generic OAuth providers use signIn.social, so the Client column stays — with a v1.6 note. The shipped @vercel/connect 2.5.2 dist/betterauth/index.d.ts exports only connect and ConnectError, not genericOAuth.
  • Cross-References: "Third-party OAuth tokens through Better Auth (@vercel/connect/betterauth)" now reads as a sign-in adapter, and the line notes that provider API tokens use getToken(). Same page: "Use getToken() from @vercel/connect when your server needs a scoped token for a provider API. Do not send the access token stored by Better Auth's generic OAuth account to the provider API." The vercel-connect skill already describes @vercel/connect/betterauth as sign-in.

Verification

run_plugin_checks: build, typecheck, validate, and test all passed (1079 tests pass, 0 fail).

Test updates

None.

Not changed

  • The Clerk, Descope, and Auth0 sections are checked only against their published npm packages (@clerk/nextjs 7.9.15, @descope/nextjs-sdk 0.16.13). Their docs sites are outside the Vercel docs estate. The Clerk "Minimum Next.js version: 15.2.3" line is a Core 3 (March 2026) note. The current @clerk/nextjs peer range starts at ^15.2.8. I left the line alone.
  • check_links flagged https://api.vercel.com/login/oauth/token and https://kms.vercel.com/. Both are API endpoints that the Sign in with Vercel and KMS docs document, not doc pages, so they are not dead links.
  • The KMS docs label the product Beta ("Key Management Service (Beta) is available on all plans"). The skill doesn't give a status, and I didn't add one.

Opened automatically by the vercel-plugin drift agent. Review before merge.


Update (@molebox)

The 2026-10-15 force-push dropped the Clerk change described in the first section. It is restored in 6574712: "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+)". Re-checked against @clerk/nextjs@7.9.17 (latest), whose peerDependencies.next is ^15.2.8 || ^15.3.8 || ^15.4.10 || ^15.5.9 || ^15.6.0-0 || ^16.0.10 || ^16.1.0-0, and Clerk's upgrade CHANGELOG (clerk/javascript#9790). The "Not changed" note that says the line was left alone is superseded. tests/auth-skill.test.ts and validate pass.

@vercel-gh-bot-4
vercel-gh-bot-4 Bot requested review from Melkeydev and molebox October 8, 2026 11:09
<!-- vercel-plugin-drift-agent -->
@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).
@molebox
molebox merged commit 3339705 into main Oct 19, 2026
5 checks passed
@molebox
molebox deleted the eve-drift/auth branch October 19, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant