Releases: auth0/nextjs-auth0
Releases · auth0/nextjs-auth0
v1.8.0
Added
- Add some useful props to the callback error #625 (adamjmcgrath)
- Update to next 12 #612 (adamjmcgrath)
Fixed
- Fix Fast Refresh for WithPageAuthRequired #653 (adamjmcgrath)
- Handle request errors on
useUser
hook SDK-3227 #639 (Widcket) - Add default to PageRoute type parameter #632 (grantbdev)
- throw if you try to refresh with no rt #624 (adamjmcgrath)
- Should be able to set rollingDuration as false (when rolling is false) #623 (adamjmcgrath)
- Fix types in client-side
withPageAuthRequired
#574 (slaypni)
v1.7.0
Added
- Include message body in 302 responses #564 (michielvangendt)
Fixed
- Honor configured sameSite in transient cookies so you can login to iframe using 'none' #571 (adamjmcgrath)
- Cookies with samesite=none must have the secure attr set #570 (adamjmcgrath)
- Improve types in server-side withPageAuthRequired #554 (misoton665)
v1.6.2
Fixed
- Fix issue where error reporting wrong instanceof #543 (adamjmcgrath)
Security
- Enforce configured host on user supplied returnTo #557 (adamjmcgrath)
v1.6.1
v1.6.0
Added
- SDK-2818 Export error classes #508 (adamjmcgrath)
- SDK-2529 Add ability to pass custom params to refresh grant and code exchange #507 (adamjmcgrath)
- SDK-2813 Add afterRefresh hook #506 (adamjmcgrath)
Fixed
v1.5.0
v1.4.2
Fixed
- Fix reflected XSS from the callback handler's error query parameter CVE-2021-32702 (adamjmcgrath)
v1.4.0
Added
withPageAuthRequired
CSR now addsuser
to wrapped component props #405 (adamjmcgrath)
Fixed
- env var substitutions now means you can define
AUTH0_BASE_URL
fromVERCEL_URL
innext.config.js
#404 (adamjmcgrath)
v1.3.1
Fixed
- Use
window.location.toString()
as the defaultreturnTo
value #370 (Widcket) returnTo
should be encoded as it contains url unsafe chars #365 (adamjmcgrath)
v1.3.0
Added
- Organizations support #343 (adamjmcgrath)