All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
4.3.0 (2018-04-28)
4.2.1 (2018-04-27)
- storage cookie get on client side (#153) (8275e60)
- watch loggedIn: disable redirect on direct page loads (#158) (0386eb9)
4.2.0 (2018-04-20)
- add check for req object on getCookie (#132) (7d17f75)
- don't redirect callback to login when using 'auth' globally (#131) (08d86cb)
- docs: update redirect in options.md (#146) (19de22b)
- fullPathRedirect with query support (#149) (a37d599)
- logout locally before logging in. fixes #136. (#151) (b6cfad4)
- oauth2: support authorization code grant and refresh token (#145) (18ecca5)
- add support for custom token key in request header (#152) (f7576e3)
4.1.0 (2018-04-09)
- scheme/oauth2: add option to use IdToken instead of AccessToken (#121) (554a042)
- add support for logging out without an API endpoint (#124) (6189c6d)
4.0.1 (2018-04-03)
- local-scheme-token: avoid token type duplicata on Axios requests (3908563)
- local-scheme-token: removed token type from axios setToken (c64e7f1), closes #113
- scheme-resolution: fix problem with backslashes in path to schemes on windows (77161b8)
- no token exception when tokenRequired is set to false (#118) (56265a7)
4.0.0 (2018-04-02)
- clear axios token after logout (#84) (be65f09)
- Typo in README.md (1ec0882)
- use getToken (bec8518)
- wrong axios ordering in windows platform. (#56) (44db0d4)
- auth: return promise reject on request error (f2883c6)
- fetchUser: fetchUser should only be called when enabled (dd0638e)
- fetchUser: fetchUser should only be called when enabled (#60) (beb3121)
- module: remove duplicate strategy options (2e167f8)
- add auth0-js scheme (c38a1e4)
- package: add client-oauth2 (e0efa60)
- redirect: add full path redirect option (#96) (ca8785f)
- allow extending auth with plugins (#98) (3712a60)
- allow providers params to be overloaded from nuxt.config.js (#77) (8542959)
- handle invalid strategy (f079ae2)
- loginWith function (2aed448)
- test: add custom _provider and _scheme for basic fixture (7423e77)
- use consola for cli messages (1db2b2e)
- user and loggedIn shortcuts (13a5eec)
- module: optimize plugin (b7998c6)
4.0.0-rc.3 (2018-02-04)
- fix scope checks during logout (e2ebd97)
- refactor init logic to $auth.init and improve error handling (b58ca17)
4.0.0-rc.2 (2018-02-03)
- Auth: register vuex store before all watchers (006650f)
4.0.0-rc.1 (2018-02-03)
4.0.0-rc.0 (2018-02-02)
- guard check (cf013a0)
- prevent middleware infinite loops (6ec1b34)
- ssr and code reduction (952700c)
- typo in lodash template (eac33d2)
- $auth.hasScope (6d6c7b3)
- $auth.onError (151868a)
- allow
token
to be a nested object in the response (#45) (8064839) - handle endpoints.propertyName (710561b), closes #46
- rewriteRedirects (dde409a)
- update defaults to axios 5.x (10157aa)
- use new Auth class (d4da740)
- improve cookie handling (c50e68f)
- Lot's of API and Usage changes
3.4.1 (2017-12-29)
- rc11 backward compatibility (c0222e9)
3.4.0 (2017-12-29)
- store: return promise in all actions (1a9a76e)
- improve compatibility for nuxt 1.0.0 (7740dec)
3.3.0 (2017-12-28)
- add fetchUser option (#27) (1b8856c)
- allow customizing http method for user endpoint (#28) (994152b)
- more compatibility for nuxt@next (d50be11)
3.2.1 (2017-12-20)
3.2.0 (2017-11-18)
- store: resetOnFail option (55e2397)
3.1.1 (2017-11-17)
- store: better check for loggedIn (37f22fe)
3.1.0 (2017-11-15)
- store: let LocalStorage to be optional (#18, @epartipilo) (b4086a0)
- improve token options (2a2c4c2)
3.0.1 (2017-11-12)
- middleware: redirects (77bd1e4)
3.0.0 (2017-11-10)
- Some options changed and/or simplified
2.0.7 (2017-10-19)
2.0.6 (2017-10-19)
2.0.5 (2017-09-06)
- warn only needed (a9dbe04)
2.0.4 (2017-09-05)
- warn when axios module is not registered (6ace50b)
2.0.3 (2017-09-04)
- package: publish templates (eb1706a)