clerk-auth
Clerk authentication with API keys, Next.js 16 middleware, and 15 documented error prevention patterns.
- Supports user and organization-scoped API keys (beta, Dec 2025) with zero-code UI component and backend verification via
verifyToken() - Next.js 16 requires
proxy.tsinstead ofmiddleware.tsdue to March 2025 security vulnerability; minimum version @clerk/nextjs@6.35.0+ - API version 2025-11-10 introduces breaking changes:
/commerce/endpoints renamed to/billing/,payment_source→payment_method, removed fields in plan responses - Prevents 15 documented issues including JWKS cache race conditions, CSRF vulnerabilities (via
authorizedParties), JWT size limits (1.2KB custom claims), asyncauth()helper confusion, and user type mismatches between client/server - Includes webhook verification patterns, clerkMiddleware route protection options, JWT template shortcodes, test credentials (OTP: 424242), and production guidance for GCP outage resilience
Clerk Auth - Breaking Changes & Error Prevention Guide
Package Versions: @clerk/nextjs@6.36.7, @clerk/backend@2.29.2, @clerk/clerk-react@5.59.2, @clerk/testing@1.13.26 Breaking Changes: Nov 2025 - API version 2025-11-10, Oct 2024 - Next.js v6 async auth() Last Updated: 2026-01-09
What's New (Dec 2025 - Jan 2026)
1. API Keys Beta (Dec 11, 2025) - NEW ✨
User-scoped and organization-scoped API keys for your application. Zero-code UI component.
// 1. Add the component for self-service API key management
import { APIKeys } from '@clerk/nextjs'
export default function SettingsPage() {
More from jezweb/claude-skills
tailwind-v4-shadcn
|
2.7Ktanstack-query
|
2.5Kshadcn-ui
Install and configure shadcn/ui components for React projects. Guides component selection, installation order, dependency management, customisation with semantic tokens, and common UI recipes (forms, data tables, navigation, modals). Use after tailwind-theme-builder has set up the theme infrastructure, when adding components, building forms, creating data tables, or setting up navigation.
2.5Ktailwind-theme-builder
Set up Tailwind v4 + shadcn/ui themed UI with dark mode. Install deps, configure CSS variables via @theme inline, wire dark mode toggle, verify. Use whenever the user mentions Tailwind v4, setting up Tailwind theming, shadcn/ui colours, dark mode, or troubleshooting colours not working, tw-animate-css errors, @theme inline conflicts, @apply breaking after upgrade, or v3 → v4 migration issues.
2.2Kfastapi
|
2.0Kcolor-palette
>
1.9K