- #44: feat: Add
withMiddlewareAuthRequired
Nextjs Middleware util to protect directories. - #43: feat: store
provider_token
in cookie.
- #42: fix: update cookie values on request object.
- #34: fix: update cookie lifetime default from 8h to 7 days.
- #33: fix: merge cookieOptions correctly.
- [BREAKING CHANGE]#32: feat: add logout api route. Note that this includes a breaking change to the options parameter for
handleAuth(options: HandleAuthOptions)
See the docs for more details.
- #30: fix: Unknown encoding: base64url.
- Makes
withAuthRequired
work for API routes as well. See the docs for more details. - Removes
onUserLoaded
prop as it was rather confusing and user might want to choose other ways to manage their user state rather than React context.