Skip to content

Releases: auth0/nextjs-auth0

v1.6.0

11 Oct 12:46
e7fa509
Compare
Choose a tag to compare

Added

Fixed

  • Fix types in server-side withPageAuthRequired #512 (Widcket)

v1.5.0

14 Jul 12:23
622f558
Compare
Choose a tag to compare

Added

v1.4.2

24 Jun 20:49
ae4a7c6
Compare
Choose a tag to compare

Fixed

v1.4.0

04 Jun 10:27
f653967
Compare
Choose a tag to compare

Added

  • withPageAuthRequired CSR now adds user to wrapped component props #405 (adamjmcgrath)

Fixed

  • env var substitutions now means you can define AUTH0_BASE_URL from VERCEL_URL in next.config.js #404 (adamjmcgrath)

v1.3.1

05 May 16:30
825941a
Compare
Choose a tag to compare

Fixed

  • Use window.location.toString() as the default returnTo value #370 (Widcket)
  • returnTo should be encoded as it contains url unsafe chars #365 (adamjmcgrath)

v1.3.0

06 Apr 07:31
fe1231a
Compare
Choose a tag to compare

Added

v1.2.0

10 Mar 14:26
53b01ec
Compare
Choose a tag to compare

Added

  • Export UserContext for overriding default hook initialisation behaviour #325 (adamjmcgrath)

Fixed

  • returnTo should respect application’s basePath configuration #317 (Widcket)

v1.1.0

24 Feb 17:19
1ef74c8
Compare
Choose a tag to compare

Added

  • Add redirect_uri option to callback handler #298 (mariano)

Fixed

  • Chunked cookies should not exceed browser max #301 (adamjmcgrath)
  • Cleanup unused cookies when switching between chunked and unchunked #303 (adamjmcgrath)
  • New tokens should be applied to existing session after handleProfile #307 (adamjmcgrath)

v1.0.0

15 Feb 15:06
4cf0357
Compare
Choose a tag to compare

New features

  • New suite of frontend tools:
    • useUser hook and UserProvider to simplify checking and managing the user’s logged in state on the client.
    • withPageAuthRequired higher order component to protect client side routes.
  • New handleAuth feature to reduce the amount of boilerplate required to set up the server side authentication handlers.
  • Simpler server side API where creation of an SDK instance is handled by the SDK.

Breaking changes

For a full list of breaking changes and migration guide, checkout the V1_MIGRATION_GUIDE.md

v1.0.0-beta.2

12 Feb 10:41
56637e5
Compare
Choose a tag to compare
v1.0.0-beta.2 Pre-release
Pre-release

Additions

  • Added afterRefetch hook option to handleProfile to modify the session after refetching it.