@auth0/nextjs-auth0 breaking changes
@auth0/nextjs-auth0 4.33.0 (October 22, 2026) is its newest release with breaking changes, 2 of them. The first: Signature changed errors:PasskeyGetTokenError.cause. Every breaking API change we have recorded in @auth0/nextjs-auth0 on npm: 26 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.33.0, released October 22, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@auth0/nextjs-auth0 4.33.0 breaking changes
- Signature changed
errors:PasskeyGetTokenError.cause
Was readonly cause?: PasskeyApiErrorResponse; now readonly cause?: PasskeyGetTokenApiErrorResponse. npmjs.com - Signature changed
errors:PasskeyGetTokenError.constructor
Was constructor(error: string, error_description: string, cause?: PasskeyApiErrorResponse); now constructor(error: string, error_description: string, cause?: PasskeyGetTokenApiErrorResponse). npmjs.com
@auth0/nextjs-auth0 4.32.0 breaking changes
- Behavior changed
createRouteUrl
createRouteUrl now checks that the target is on the same origin to prevent open redirects. Code that builds cross-origin URLs with it will be affected and should use same-origin paths. github.com
@auth0/nextjs-auth0 4.31.1 breaking changes
- Removed
types:AnonymousSession.sessionReplaced
AnonymousSession.sessionReplaced was removed in @auth0/nextjs-auth0 4.31.1 npmjs.com
@auth0/nextjs-auth0 4.31.0 breaking changes
- Signature changed
Auth0Provider
Was function Auth0Provider({user, children, profileRoute}: Auth0ProviderProps): React.JSX.Element; now function Auth0Provider({user, anonymousSession, children, profileRoute, anonymousSessionRoute}: Auth0ProviderProps): React.JSX.Element. npmjs.com - Signature changed
Auth0ProviderProps
Was type Auth0ProviderProps = {user?: User; children: React.ReactNode; profileRoute?: string;}; now type Auth0ProviderProps = {user?: User; anonymousSession?: AnonymousSession | null; children: React.ReactNode; profileRoute?: string... npmjs.com - Signature changed
server:Auth0Client.startInteractiveLogin
Was startInteractiveLogin(options?: StartInteractiveLoginOptions): Promise<NextResponse>; now startInteractiveLogin(options?: StartInteractiveLoginOptions, req?: Request | PagesRouterRequest | NextRequest): Promise<NextResponse>. npmjs.com - Signature changed
types:OnCallbackContext
Was type OnCallbackContext = {responseType?: RESPONSE_TYPES; appBaseUrl?: string; returnTo?: string; connectedAccount?: CompleteConnectAccountResponse; challengeMode?: "redirect" | "popup";}; now type OnCallbackContext = {responseType?... npmjs.com
@auth0/nextjs-auth0 4.29.0 breaking changes
- Behavior changed
The __txn_* cookie format changed from bare JWE to {timestamp}:{jwe}. Logins started on one version and completed on the other fail with a state parameter error, so deploy to all pods before accepting new logins or shorten... github.com - Signature changed
server:TransactionStore.save
Was save(resCookies: cookies.ResponseCookies, transactionState: TransactionState, reqCookies?: cookies.RequestCookies): Promise<void>; now save(resCookies: cookies.ResponseCookies, transactionState: TransactionState, reqCookies?... npmjs.com
@auth0/nextjs-auth0 4.24.0 breaking changes
- Signature changed
types:SessionData.internal
Was internal: {sid: string; createdAt: number; mcd?: import("./mcd.js").MCDMetadata;}; now internal: {sid: string; createdAt: number; mcd?: import("./mcd.js").MCDMetadata; sessionExpiresAt?: number;}. npmjs.com
Older versions
5 older versions, each with its first changes. Sign up to see every change
Show 5 older versions
@auth0/nextjs-auth0 4.23.0 breaking changes
- Behavior changed
passkeyGetToken
Token calls such as passkeyGetToken now surface MfaRequiredError where they previously did not. Code that calls these must handle this error. github.com - Signature changed
server:AbstractSessionStore.constructor
Was constructor({secret, rolling, absoluteDuration, inactivityDuration, store, cookieOptions}: SessionStoreOptions); now constructor({secret, rolling, beforeSessionRolled, absoluteDuration, inactivityDuration, store, cookieOptions}... npmjs.com
And 3 more in this version.
@auth0/nextjs-auth0 4.22.0 breaking changes
- Signature changed
types:ProxyOptions
Was type ProxyOptions = {proxyPath: string; targetBaseUrl: string; audience: string; scope: string | null;}; now type ProxyOptions = {proxyPath: string; targetBaseUrl: string; audience: string; scope: string | null; forceTokenRefresh?... npmjs.com
@auth0/nextjs-auth0 4.21.0 breaking changes
- Signature changed
types:TransactionState.codeVerifier
Was codeVerifier: string; now codeVerifier?: string. npmjs.com
@auth0/nextjs-auth0 4.20.0 breaking changes
- Signature changed
Auth0Provider
Was function Auth0Provider({user, children}: {user?: User; children: React.ReactNode;}): React.JSX.Element; now function Auth0Provider({user, children, profileRoute}: Auth0ProviderProps): React.JSX.Element. npmjs.com - Signature changed
types:RoutesOptions
Was type RoutesOptions = Partial<Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout" | "connectAccount">>; now type RoutesOptions = Partial<Routes>. npmjs.com
And 1 more in this version.
@auth0/nextjs-auth0 4.19.0 breaking changes
- Removed
types:Routes.mfaEnroll
Routes.mfaEnroll was removed in @auth0/nextjs-auth0 4.19.0 npmjs.com - Signature changed
mfa
Was const mfa: MfaClient; now const mfa: ClientMfaClient. npmjs.com
And 3 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.