v0.13.0 (2020-05-15)
- Updated handlers to use
NextApiRequest
andNextApiResponse
- Automatically redirect to what is provided in the redirectTo querystring parameter, eg:
/api/login?redirectTo=/profile
v0.12.0 (2020-05-11)
- Support end_session_endpoint (#102)
- Allow full control over the state generation
- Allow full control over the session creation
v0.11.0 (2020-03-31)
- Make options optional in handlers (#78)
- Add domain when clearing cookie (#79)
- Add redirectTo support (#81)
v0.10.0 (2020-01-10)
- Add support to refetch the user in the profile handler.
v0.9.0 (2020-01-08)
- Make
options
on the login handler optional
v0.8.0 (2020-01-08)
- Improved TypeScript types
- Added support to automatically refresh access tokens
v0.7.0 (2019-12-18)
- Add support for
SameSite
and set toLax
by default to mitigate CSRF attacks.
v0.6.0 (2019-12-18)
- Add support for the
cookieDomain
option which allows you to share the session across subdomains. - Fix the interface for the
handleLogin
method. - Support sending a custom
state
to Auth0.
v0.5.0 (2019-10-14)
- Added support for custom authorization parameters in the Login handler
v0.4.0 (2019-10-10)
- Rename the
httpClient
tooidcClient
setting to support more OIDC related settings. - Added support for
id_token
leeway for when the time on your server is running behind on Auth0. - Improve handling of
Secure
cookies. Don't forceSecure
cookies when running on localhost (to fix issues related tonext start
)
v0.3.0 (2019-10-09)
- Fixed issue related to
audience
not being passed to the/authorize
request - Rename
useAuth0
toinitAuth0
to clear any confusion about React Hooks (this SDK does not provide a hook) - Added a new handler to require authentication on API routes.
v0.2.0 (2019-09-25)
- Added support for
storeRefreshToken
to persist therefresh_token
in the session - Added prettier
- Removed the need build time configuration
v0.1.0 (2019-09-17)
Initial release.