CHANGELOG
Last updated
Last updated
All notable changes to this project will be documented in this file. See for commit guidelines.
oauth2: use normalized path for callback route check () ()
core: return response from loginWith
() (), closes
local scheme: add autoFetchUser
option () ()
clear tokens when calling $auth.reset()
() (), closes
fix setUserToken
issues () (), closes
remove the trailing slash of paths in isSameURL
() ()
module: don't log fatal error when vuex is disabled () ()
Lot's of API and Usage changes
Some options changed and/or simplified
core: always return boolean form hasScope ()
core: support querystring only url for isRelativeURL
() ()
module: always transpile nanoiid (), closes
oauth2: restore callback handling on static sites () ()
core: set loggedIn after user () ()
utilities: avoid send xxx=undefined
in query () ()
regression from when callback is set to false () ()
oauth2: correctly handle callback with hash () ()
don't redirect to login page if in guest mode () ()
oauth2: support server-side callback () ()
oauth2: support access_type=offline
to enable refresh tokens from google () ()
set-cookie header contains undefined
value () ()
fix typo in serializedCookie ()
server side Set-Cookie always set an array. () ()
module: warn if default strategy is not valid () ()
module: warn if default strategy is not valid () ()
storage: accept expires as a number for cookie ()
accept state, nonce as login
args ()
preserve query params when redirecting () ()
auth: handle mounted errors during init () ()
docs: GitHub capitalize () ()
docs: GitHub capitalize () ()
docs: spelling fix () ()
docs: typo () ()
local: prevent loggedIn
being incorrectly set to true () ()
middleware: remove trailing slash from redirect paths () ()
oauth2, auth0: add audience to requests () ()
setUserToken: Add fallback to unimplemented strategies ()
randomString btoa fallback for SSR () ()
remove default auth0 audience () ()
set extended for body-parser urlencoded to prevent the deprecation warning () ()
storage.md: fix typo ()
improve storage () ()
support onRedirect
hook () ()
middleware: add guest option in auth middleware () ()
generate nounce for id_token
response type () ()
oauth2: support passing extra query params () ()
use strategy tokenName for requestWith
() ()
oauth2-set-state: Allow set state in case it exists on oauth2 provider [] ()
setUserToken: Add functionality to manually set auth token ()
add resetOnError () ()
api/auth.md: typo() ()
docs: minor proper english revisions () ()
docs: typo ()
docs: update glossary read more title ()
middleware: remove trailing slash from redirect paths () ()
module: allow watchLoggedIn ()
auth: start watching loggedIn state after current strategy is fully mounted () ()
docs: add comma following _scheme value () ()
add watchLoggedIn option to optionally disable it () ()
storage: use false value for unsetting token/user () (), closes
oauth2: set axios token () ()
revert due to conflicts ()
github provider () ()
laravel passport provider () ()
storage cookie get on client side () ()
watch loggedIn: disable redirect on direct page loads () ()
add check for req object on getCookie () ()
don't redirect callback to login when using 'auth' globally () ()
docs: update redirect in options.md () ()
fullPathRedirect with query support () ()
logout locally before logging in. fixes . () ()
oauth2: support authorization code grant and refresh token () ()
add support for custom token key in request header () ()
scheme/oauth2: add option to use IdToken instead of AccessToken () ()
add support for logging out without an API endpoint () ()
local-scheme-token: avoid token type duplicata on Axios requests ()
local-scheme-token: removed token type from axios setToken (), closes
scheme-resolution: fix problem with backslashes in path to schemes on windows ()
no token exception when tokenRequired is set to false () ()
clear axios token after logout () ()
Typo in README.md ()
use getToken ()
wrong axios ordering in windows platform. () ()
auth: return promise reject on request error ()
fetchUser: fetchUser should only be called when enabled ()
fetchUser: fetchUser should only be called when enabled () ()
module: remove duplicate strategy options ()
add auth0-js scheme ()
package: add client-oauth2 ()
redirect: add full path redirect option () ()
allow extending auth with plugins () ()
allow providers params to be overloaded from nuxt.config.js () ()
handle invalid strategy ()
loginWith function ()
test: add custom _provider and _scheme for basic fixture ()
use consola for cli messages ()
user and loggedIn shortcuts ()
module: optimize plugin ()
fix scope checks during logout ()
refactor init logic to $auth.init and improve error handling ()
Auth: register vuex store before all watchers ()
deps: update dependencies ()
watcher: close and undefined bug ()
watchState and watchLoggedIn (), closes
guard check ()
prevent middleware infinite loops ()
ssr and code reduction ()
typo in lodash template ()
$auth.hasScope ()
$auth.onError ()
allow token
to be a nested object in the response () ()
handle endpoints.propertyName (), closes
rewriteRedirects ()
update defaults to axios 5.x ()
use new Auth class ()
improve cookie handling ()
rc11 backward compatibility ()
store: return promise in all actions ()
improve compatibility for nuxt 1.0.0 ()
add fetchUser option () ()
allow customizing http method for user endpoint () ()
more compatibility for nuxt@next ()
store: skip only if token is not set. resolves . ()
store: resetOnFail option ()
store: better check for loggedIn ()
store: let LocalStorage to be optional (, ) ()
improve token options ()
middleware: redirects ()
improve auth store ()
improvements () ()
import only needed lodash functions (, Mic) ()
warn only needed ()
warn when axios module is not registered ()
package: publish templates ()