Thanks for your patience and feedback that made this release possible. 💖
From this release, we are going back to the standard release cycles.
resetOnErroris set to
falseby default. Previously any network error was causing user log out! We are working on better oauth token reset methods.
This is an almost rewrite of Auth module, to improve perf, stability and make it more customizable.
no-authmiddleware unified to a smarter
isLoggedInwill be automatically watched for changes and changing route on login/logout.
$authinstance is shared across Nuxt context (plugins, middleware, pages, etc).
window.nuxt.state) for security reasons.
entrypoint.propertyName. It supports nested values like
token.AccessTokenor even more complicated ones including arrays like
hasScopeutility to easily check permissions.