Next.js SDK for signing in with Auth0
MIT License
Bot releases are hidden (Show)
Published by auth0-oss about 3 years ago
Added
Fixed
Published by Widcket over 3 years ago
Fixed
Published by adamjmcgrath over 3 years ago
Added
withPageAuthRequired
CSR now adds user
to wrapped component props #405 (adamjmcgrath)Fixed
AUTH0_BASE_URL
from VERCEL_URL
in next.config.js
#404 (adamjmcgrath)Published by adamjmcgrath over 3 years ago
Fixed
window.location.toString()
as the default returnTo
value #370 (Widcket)returnTo
should be encoded as it contains url unsafe chars #365 (adamjmcgrath)Published by adamjmcgrath over 3 years ago
Added
Published by adamjmcgrath over 3 years ago
Added
UserContext
for overriding default hook initialisation behaviour #325 (adamjmcgrath)Fixed
Published by adamjmcgrath over 3 years ago
Added
Fixed
Published by adamjmcgrath over 3 years ago
New features
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.handleAuth
feature to reduce the amount of boilerplate required to set up the server side authentication handlers.Breaking changes
For a full list of breaking changes and migration guide, checkout the V1_MIGRATION_GUIDE.md
Published by adamjmcgrath over 3 years ago
Additions
afterRefetch
hook option to handleProfile
to modify the session after refetching it.Published by Widcket over 3 years ago
Additions
Changes
withPageAuthRequired
now it can be configured with an environment variable.Fixes
Published by adamjmcgrath over 3 years ago
Published by adamjmcgrath almost 4 years ago
Install
npm install @auth0/nextjs-auth0@beta
New features
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.handleAuth
feature to reduce the amount of boilerplate required to set up the server side authentication handlers.Breaking changes
For a full list of breaking changes and migration guide, checkout the V1_MIGRATION_GUIDE.md
Changes
Issuer.discover
includes stack trace #236 (adamjmcgrath)/me
request #233 (adamjmcgrath)