Skip to content

Releases: auth0/nextjs-auth0

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.

v1.0.0-beta.1

03 Feb 13:41
8076203
Compare
Choose a tag to compare
v1.0.0-beta.1 Pre-release
Pre-release

Additions

  • Added a new way to configure the custom profile url. Now it can be configured with an environment variable as well.

Changes

  • The way to configure the custom login url has changed. Instead of passing it in every call to withPageAuthRequired now it can be configured with an environment variable.
  • The Vercel configuration docs have been updated with the latest guidance.

Fixes

  • Fixed a logout issue related to custom IdPs.

v0.16.1

28 Jan 16:59
c5b36d9
Compare
Choose a tag to compare
  • Updating dependencies with security issues

v1.0.0-beta.0

14 Jan 16:34
Compare
Choose a tag to compare
v1.0.0-beta.0 Pre-release
Pre-release

Install

npm install @auth0/nextjs-auth0@beta

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

Changes