Skip to content

Releases: auth0/nextjs-auth0

v4.20.0

05 May 05:59
dadd14f

Choose a tag to compare

Added

  • feat: support customizing profile and accessToken routes #2451 (eliw00d)

Fixed

  • fix: stale session reuse on proxy DPoP nonce retry #2582 (nandan-bhat)
  • fix: move NextResponse-dependent buildEnrollOptions to server-only module #2643 (sleitor)
  • fix: delete v3 appSession cookie on logout #2552 (gmurphey)
  • fix: respect allowInsecureRequests option in AuthClientProvider domain validation #2630 (sleitor)

v4.19.0

23 Apr 15:10
605eaf2

Choose a tag to compare

v4.19.0 (2026-04-22)

Added

  • feat: add mfa.stepUpWithPopup() for reactive MFA step-up via Universal Login #2524 (tusharpandey13)

Fixed

v4.18.0

17 Apr 13:04
c4b3920

Choose a tag to compare

Added

Fixed

v4.17.1

16 Apr 16:52
b06d30f

Choose a tag to compare

Fixed

  • fix: defer AuthClientProvider construction when AUTH0_DOMAIN not set at build time #2604 (sleitor)
  • fix: Next.js edge runtime build error for crypto module #2564 (Piyush-85)

v4.17.0

09 Apr 10:37
8eb6cd2

Choose a tag to compare

Release v4.17.0 (minor release)

Added

Fixed

  • fix: prevent rolling session from re-creating a deleted session on concurrent logout #2530 (sleitor)

v4.16.2

07 Apr 10:48
f6bfef2

Choose a tag to compare

Fixed

  • fix: Middleware should not throw ERR_JWE_INVALID #2546 (crob)
  • fix: preserve error details from HTTP 5xx OAuth responses #2533 (sleitor)

Security

  • chore(deps): update eslint to fix flatted vulnerability #2575 (Piyush-85)

Documentation

  • docs: clarify getAccessToken req/res usage in Route Handlers with custom cookies #2577 (Piyush-85)

v4.16.1

27 Mar 10:46
e1cfb14

Choose a tag to compare

Fixed

  • fix: make withPageAuthRequired generic to support PageProps/LayoutProps types #2529 (sleitor)
  • fix: enable full generic type inference for withPageAuthRequired to correctly propagate PageProps and LayoutProps #2550 (Piyush-85)

v4.16.0

02 Mar 05:47
0c5c166

Choose a tag to compare

Added

Fixed

v4.15.0

10 Feb 08:34
c187dec

Choose a tag to compare

v4.15.0

Added

v4.14.1

26 Jan 08:08
c01f8a9

Choose a tag to compare

Fixed

  • fix: do not throw ERR_JWE_DECRYPTION_FAILED, but catch it and ignore the cookie. #2487 (frederikprijck)
  • fix: avoid headers.append error when using getAccessToken with refresh in Next.js 16 proxy #2495 (nandan-bhat)
  • fix: removed un-intended class/type exports from the SDK #2475 (nandan-bhat)