Skip to content

Latest commit

 

History

History
760 lines (555 loc) · 77.6 KB

CHANGELOG.md

File metadata and controls

760 lines (555 loc) · 77.6 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

5.0.0 (2023-02-23)

⚠ BREAKING CHANGES

  • remove build artifact from repo (#1495)

Features

  • add Token, RefreshToken and TokenStatus classes (b613533)
  • add Token, RefreshToken and TokenStatus classes (5e57bd4)
  • add discord provider (#914) (5a3c3a8)
  • add password grant utility and fix client id and grant type (#602) (f47885c), closes #633
  • auth0 scheme (8483fb3)
  • auth: support strategy.check (d53d57b)
  • cookie scheme and laravel sanctum (6b8fa2b)
  • cookie-scheme (b0bfafb)
  • cookie: keep cookie or reponse code as token (42f1db8)
  • core: add refreshTokenAt method (75374e1)
  • core: add refreshTokenAt method (e432774)
  • core: add scheduleTokenRefresh method (5b133c5)
  • core: add scheduleTokenRefresh method (1c474ad)
  • core: add common token refresh controller (83cb345)
  • core: add common token refresh controller (a07c412)
  • core: add custom exception for expired sessions (531cc15)
  • core: add custom exception for expired sessions (5f38665)
  • core: add methods setTokenExpiration and setRefreshTokenExpiration (5fc7e87)
  • core: add methods setTokenExpiration and setRefreshTokenExpiration (88bda9b)
  • core: add refresh token method (6082652)
  • core: add token expiration helpers (a42ba8e)
  • core: add token expiration helpers (19aa116)
  • core: move refresh code from utilities to its own file (399f3ab)
  • core: move refresh code from utilities to its own file (238864e)
  • core: use Token and RefreshToken classes (bf84bbf)
  • core: use Token and RefreshToken classes (30f0194)
  • defaults: add tokenExpiration and refreshTokenExpiration prefixes (8b23f57)
  • defaults: add tokenExpiration and refreshTokenExpiration prefixes (6142403)
  • demo: add refresh token button (2438182)
  • demo: improve refresh endpoint (c4f0440)
  • deprecate getResponseProp (#1006) (3646657), closes #952
  • examples: add refresh example (8a3340e)
  • fixed typo in providers/google.md (#1674) (0035e52)
  • improve setUserToken to set refresh token (#721) (6ab4c1e)
  • improve module (#922) (3f950ac)
  • improve password grant flow (#717) (a6f773a)
  • improve token handling and validation (#690) (73fd1fe)
  • laravel-sanctum (bf63513)
  • local scheme: initialize request interceptor in mounted method (dcb82f4)
  • local: add check (2e115bf)
  • local: support csrf endpoint (6a10059)
  • middleware: watch token status (b9d0555)
  • migrate from nanoid v2 to v3 (#624) (6ebf1da)
  • module: copy includes directory (5a49be2)
  • module: copy includes directory (caa1a97)
  • non-required refresh token flow and laravel jwt provider (#630) (fcde62e), closes #631 #633 #633
  • oauth scheme: return response from refreshTokens method (23273ac)
  • oauth2 scheme: add check method (ab98561)
  • oauth2 scheme: add PKCE Grant flow support (#507) (baf9b57)
  • oauth2: add autoLogout (#657) (8c3a351)
  • oauth2: Add oauth2 refresh support (110fdf3)
  • oauth2: logout support (#613) (43eedc7)
  • oauth2: make nonce settable when response_type includes 'token' (#709) (92eabbd)
  • OpenID Connect scheme (#868) (d57e832)
  • patch #1 #2 (08439b4)
  • provider-utils: add refresh token support and fix token endpoint from addAuthorize (#601) (a0bcfaa)
  • refresh scheme: add check method (ce0203d)
  • refresh scheme: add property autoLogout to logout on mount if token has expired (d185b6e)
  • refresh scheme: add request interceptor and refresh token expiration (35744ea)
  • refresh scheme: refactor based on merged commits from feat/refresh-core (9af7417)
  • refresh scheme: use Refresh Controller and Token Status Expiration (ac78c31)
  • refresh support (#361) (29ea6d2)
  • refresh: add initializeRequestInterceptor method to RefreshController class (519c42e)
  • refresh: add initializeRequestInterceptor method to RefreshController class (b06b2a3)
  • request handler: add initializeRequestInterceptor method (07759c8)
  • storage: improve methods setUniversal and getUniversal (e5a89c7)
  • storage: improve methods setUniversal and getUniversal (12e30ec)
  • storage: support custom prefix for cookie (7dfb21e)
  • typescript rewrite (9fbac88)
  • types: declare $auth types (99ee050)
  • use nuxt's base url setting (#1023) (c71a9a1)
  • utilities: add token prefix utility function (abf896f)
  • utilities: add token prefix utility function (7744d1f)
  • utilities: improve addTokenPrefix utility (84f8bb7)
  • utilities: improve addTokenPrefix utility (0dc1af3)
  • utilities: improve TokenExpirationStatus class (3b0660e)
  • utilities: improve TokenExpirationStatus class (3c002bf)

Bug Fixes

  • add compatibility to propertyName of user endpoint (da12c9b)

  • add missing vue import (035aa86)

  • add missing images (#851) (d25338f)

  • allow colon in relative URLs (#1096) (c356fed)

  • Allow dots on relative urls (#1039) (37b1156)

  • auth0: set token and logout endpoint, and update docs (#730) (6e1461a)

  • catch refresh request error (#669) (18b4733)

  • check if cookies is an array (#1353) (723645a)

  • cookie scheme: force unset cookie in reset instead of logout (64402a0)

  • cookie scheme: force unset cookie in reset instead of logout (d249c06)

  • cookie scheme: include parent scheme during build (#636) (946f802)

  • cookie scheme: use token.required instead of token.property (#952) (2fe2217)

  • cookie: force unset cookie after logout (fad1a17)

  • core: directly return response with request util (24f2145)

  • core: error handling for token refresh in middleware (#938) (ec0152d)

  • core: fix addTokenPrefix method (bb3243d)

  • core: fix baseURL (#1187) (87126e3)

  • core: fix baseURL for relative endpoints (#1182) (30f456c)

  • core: fix set token in setUserToken method (6d911b3)

  • core: fix set token in setUserToken method (8a53546)

  • core: remove extra addTokenPrefix from auth.js (66ee64e)

  • core: remove old getProp (dbf6499)

  • core: reset refresh token by default (d53338d)

  • core: return updated config if token is valid (4cbca89)

  • core: throw error if trying to set an undefined strategy (#628) (ab927f6)

  • core: warn when vuex store is not activated (#1195) (cc99959)

  • Discord oauth2 missing "code_challenge" (#1440) (332829f)

  • docs: $storage lead to nowhere (#1444) (9a32c7d), closes #1443

  • docs: grammar (#1252) (72052ef)

  • docs: link to user autofetch option (#1416) (1af946a)

  • eject interceptor on reset (#689) (aff2175)

  • export main file (#993) (f7e00e8)

  • expose declarations in index.d.ts (66911a8)

  • fix all imports (daf9791)

  • fix lint (0a4e4f8)

  • fix lint error (3f02691)

  • include providers in generated types (6087cee)

  • laravel passport: fix default logout endpoint (0781065)

  • laravel passport: ignore axios baseURL for password grant flow (#683) (90a214b)

  • laravel sanctum: fix import of assignDefaults (11e5089)

  • laravel sanctum: fix provider errors (58ebc16)

  • laravel sanctum: fix referer header (7d00724)

  • laravel sanctum: grammar mistake (#824) (695a143)

  • laravel sanctum: set referer header on mount (#654) (26ca452)

  • laravel-passport: add refreshToken defaults (#596) (51e89e2)

  • laravel, providers: relative url for endpoints (#633) (dc26782)

  • laravelSanctum provider name in demo (3f3a2e8)

  • local scheme: add error handling for user data fetching (#989) (f9cd449)

  • local scheme: await reset on mount (fe30ab1)

  • local scheme: fix behaviour when token is not required (#951) (551a6fb)

  • local scheme: fix lint error (5e86e5b)

  • local scheme: force reset if token has expired in mounted method (a4ab3da)

  • local scheme: move 'syncClientId' to outside of 'tokenRequired' check (9cb65be)

  • local scheme: remove refresh token reset (7814500)

  • local scheme: remove undefined cookieOptions (b755400)

  • local scheme: return response and catch errors from fetchUser (a36b39f)

  • local: getprop of property instead of clientId object (#577) (aed2b23)

  • Make invalid password error appear properly in demo (#1274) (fa80c76)

  • middleware: fix lint (no-lonely-if) (6b51095)

  • middleware: scheme check should be performed before "home" redirect (#946) (56d457a), closes #802 #802

  • module: fix method resolveProvider (6ff915c)

  • module: throw error if scheme is not defined (#652) (61fb4dc)

  • move config.headers set after the check (50c0fc7)

  • oauth refresh: OAuth2 scheme token refresh not working server-side and silently errors out (#849) (7f17cf5)

  • oauth scheme: sync token and refresh token on request (c43e455)

  • oauth0 provider: remove import of addAuthorize (f55b52a)

  • oauth0 provider: remove import of addAuthorize (e56037f)

  • oauth2 refresh token not sending scope (#1439) (d498480)

  • oauth2 scheme: 'reset' instead of 'logout' (ff09125)

  • oauth2 scheme: fetchUser ignoring user.property setting (#841) (b9e68dd)

  • oauth2 scheme: add back refreshTokens method and refactor it based on commits from feat/refresh-core (d6fd0a8)

  • oauth2 scheme: add backward compatibility to token_key, token_type and refresh_token_key (92bdcd0)

  • oauth2 scheme: add backward compatibility to token_key, token_type and refresh_token_key (c9dd129)

  • oauth2 scheme: add missing user property to options (5772ccb)

  • oauth2 scheme: add token and refresh token maxAge (4f799c7)

  • oauth2 scheme: add token and refresh token maxAge (d807413)

  • oauth2 scheme: check if refresh token is defined before attempting to refresh (b1659bc)

  • oauth2 scheme: check if refresh token is not expired before attempting to refresh (bcbd63e)

  • oauth2 scheme: fix refreshTokens response (c952e95)

  • oauth2 scheme: initialize request interceptor on mount (34e6925)

  • oauth2 scheme: Make oauth2 scheme respect watchLoggedIn property (#1237) (7a526bb)

  • oauth2 scheme: make options extendable (#774) (db756d2)

  • oauth2 scheme: pass token endpoint to initializeRequestInterceptor (a9ae3e3)

  • oauth2 scheme: read token property options in refreshTokens method (fdc2b2c)

  • oauth2 scheme: remove deprecated name from refresh token request (d980279)

  • oauth2 scheme: reset refresh token on reset (db1b938)

  • oauth2 scheme: set token.global to true (6f7d88d)

  • oauth2 scheme: set token.global to true (c5694c4)

  • oauth2 scheme: unset baseURL in refreshTokens (#939) (05a2348)

  • oauth2, refresh: only update refresh token if defined in response (#593) (95e8972)

  • oauth2, refresh: remove authorization header from refreshToken call (#576) (1581e03)

  • oauth2: scheme: fix backward compatibility with refresh_token_key (3c541bd)

  • oauth2: scheme: fix backward compatibility with refresh_token_key (f7bf444)

  • oauth2: correctly read token property options (2350e00)

  • oauth2: correctly set refreshToken (#563) (47ac372)

  • oauth2: use normalized path for callback route check (#587) (ffda6b0)

  • only set authorization header when token is string (#950) (ae1e5db)

  • openIDConnect scheme: Check token expiration before id_token (#1684) (e616287), closes /github.com/nuxt-community/auth-module/pull/1684#issuecomment-1070537221

  • overly zealous localstorage warning (#1430) (1785b0f)

  • prevent error when local storage isn't available (#1415) (10cfcc9)

  • prevent siroc overwriting ./index.d.ts (#1400) (30545a7)

  • properties scheme and name are public (48cd7e7)

  • provider utils: return correct error response (#660) (49d4a60)

  • providers: add nuxt parameter (61f4784)

  • refresh controller: fix sync refresh token in initializeRequestInterceptor method (63ce542)

  • refresh controller: fix sync refresh token in initializeRequestInterceptor method (a451e49)

  • refresh example: add missing dataGrantTypeProperty (5e3b5de)

  • refresh example: fix data properties (35772af)

  • refresh scheme: token.required option not taken into account (#742) (71f8c11)

  • refresh scheme: add refreshEndpoint param to mounted method (efd1c74)

  • refresh scheme: add tokenRequired option for refresh token (#743) (63abc5f)

  • refresh scheme: add missing reset param to login method (e1935ad)

  • refresh scheme: allow refresh token max age to be false (e0e2f09)

  • refresh scheme: check if refresh token is defined before attempting to refresh (6673c23)

  • refresh scheme: check if refresh token is not expired before attempting to refresh (bf0a38c)

  • refresh scheme: clear authorization header before refreshing (3775892), closes #716

  • refresh scheme: fix check of token expiration on mount (02aac24)

  • refresh scheme: fix check of token expiration on mount (11332ba)

  • refresh scheme: fix check of token expiration on request interceptor (c1ceea2)

  • refresh scheme: fix code linting (901cdfc)

  • refresh scheme: fix hasRefreshTokenChanged property that was giving the opposite value (65822b2)

  • refresh scheme: fix logout on mount (e8ef414)

  • refresh scheme: fix logout on mount (c821951)

  • refresh scheme: fix non-required refresh token flow (#715) (0948291)

  • refresh scheme: fix reset (02daa79), closes #544

  • refresh scheme: fix server side error "Invalid value 'undefined' for header 'Authorization'" (d061ad5)

  • refresh scheme: handle errors (b2937ab)

  • refresh scheme: initialize request interceptor before fetch user (25080b0)

  • refresh scheme: only add grantType to refresh token request if dataGrantType is defined (f735c36)

  • refresh scheme: only fetch user if 'autoFetchUser' is enabled (b4137eb)

  • refresh scheme: pass refresh endpoint url to initializeRequestInterceptor (4e62b15)

  • refresh scheme: remove error instance check (78e1090)

  • refresh scheme: remove extra token check in fetchUser (929a349)

  • refresh scheme: remove unnecessary param (29c678e)

  • refresh scheme: reset only if 'resetOnError' is enabled (457ceac)

  • refresh scheme: reset Refresh Controller (b09de9a)

  • refresh scheme: return login response (2980892)

  • refresh scheme: return response from fetchUser (fe0736d)

  • refresh scheme: set refreshEndpoint param of login method (d2f5fe7)

  • refresh scheme: support multiple requests on request interceptor (f129c3a)

  • refresh scheme: sync status before attempting to refresh (21e40dc)

  • refresh scheme: sync tokens before refresh (ee82e15)

  • refresh scheme: update header after sync tokens on request interceptor (ea6558b)

  • refresh scheme: wait for refresh token request, even if token hasn't expired (080628f)

  • refresh: call scheme method refreshToken instead of _refreshToken (d0e3c0e)

  • refresh: call scheme method refreshToken instead of _refreshToken (f04d30b)

  • refresh: clear refresh interval before schedule new token refresh (9aa623a)

  • refresh: clear refresh interval before schedule new token refresh (862d184)

  • refresh: fix _tokenExpiresAt property (9fbfc82)

  • refresh: fix _tokenExpiresAt property (30179b3)

  • refresh: fix import of getProp and ExpiredAuthSessionError (ba19636)

  • refresh: fix import of getProp and ExpiredAuthSessionError (aaeaeb8)

  • refresh: initialize request Interceptor if autoRefresh is enabled (9366570)

  • refresh: initialize request Interceptor if autoRefresh is enabled (32c114c)

  • refresh: pass config param to requestHasAuthorizationHeader check (a9d3f6c)

  • refresh: pass config param to requestHasAuthorizationHeader check (39fd5bc)

  • refresh: prevent duplicating refresh token in parallel requests (#1796) (dfbbb54)

  • refresh: prevent scheduled refresh from being executed in server side (396518e)

  • refresh: prevent scheduled refresh from being executed in server side (eb38fd4)

  • refresh: reset refresh timer if refreshToken is called manually (c892cc9)

  • refresh: this.scheme instead of this.$scheme (1df462a)

  • refresh: this.scheme instead of this.$scheme (9fef2a2)

  • request handler: only intercept requests if global token is enabled (#695) (1671dba)

  • resolve: get strategies from options.strategies (cffa385)

  • resolve: properly resolve schemes and providers (30d8479)

  • return response from refreshToken method (98a2a6b)

  • schemes: check if clientId is defined before attempting to reset it (b68de9f)

  • schemes: fix client id prefix (0af3e7e)

  • schemes: move DEFAULTS to top (8e4879c)

  • schemes: properly check clientId and grantType (9e50a6c)

  • set "false" as default value of "getUniversal" method (9d332ee)

  • set maxRedirects to 0 for csrf (a16c5c6)

  • Setting cookie: false is not respected (#1442) (f4d0554)

  • storage: fix getUniversal in server side (a440961)

  • storage: improve setCookie to prevent duplicated cookies (#718) (3f0073b)

  • token and refresh token: set type of jwt-decode payload (#918) (ce5a056)

  • token: fix methods getStatus (f644e46)

  • token: fix methods getStatus (841ed1c)

  • token: fix methods setHeader and clearHeader (fc6b242)

  • token: fix methods setHeader and clearHeader (342320c)

  • token: fix strategy options (80c2cfa)

  • token: fix strategy options (994db50)

  • tokens: if _tokenTTLMillis is not defined _tokenExpiresAtMillis return 0 (b27591e)

  • tokens: if _tokenTTLMillis is not defined _tokenExpiresAtMillis return 0 (4dfdadb)

  • types (799e5cc)

  • types: Allow boolean types for redirect options (#1361) (a0643c3)

  • types: fix typings for vuex (eba51b3)

  • types: revert #1361 due to type errors (#1489) (536f556)

  • unsupported package.json comment (647248d)

  • use customizable property instead of getRealName (6cdb8fa)

  • utilities: export addTokenPrefix method (5ef957b)

  • utilities: export addTokenPrefix method (772b59b)

  • utilities: only throw error if error is not instance of InvalidTokenError (06af6e8)

  • utilities: only throw error if error is not instance of InvalidTokenError (09d65be)

  • utilities: only set tokenExpiration to its fallback if error instance of InvalidTokenError (75e59a1)

  • utilities: only set tokenExpiration to its fallback if error instance of InvalidTokenError (20ed936)

  • utilities: prevent startsWith error if token is undefined (5448664)

  • utilities: set tokenExpiration to false if _tokenExpiresAt is undefined (bbbd025)

  • utilities: set tokenExpiration to false if _tokenExpiresAt is undefined (22a70bb)

  • utilities: simplify check of tokenExpiresAt (84b3a33)

  • utilities: simplify check of tokenExpiresAt (4c80f79)

  • utils: check if holder is object in getProp util (#941) (23ecb31)

  • remove build artifact from repo (#1495) (d38a8d7)

4.9.0 (2020-03-15)

Features

Bug Fixes

4.8.5 (2019-12-27)

Bug Fixes

  • core: always return boolean form hasScope (a2da3a4)
  • core: support querystring only url for isRelativeURL (#492) (09d81ea)
  • module: always transpile nanoiid (8ef5a9b), closes #472

4.8.4 (2019-09-12)

Bug Fixes

  • oauth2: restore callback handling on static sites (#453) (06165a0)

4.8.3 (2019-09-10)

Bug Fixes

4.8.2 (2019-09-05)

4.8.1 (2019-06-24)

Bug Fixes

  • utilities: avoid send xxx=undefined in query (#387) (7c79fd4)
  • regression from #385 when callback is set to false (#391) (4605681)
  • oauth2: correctly handle callback with hash (#394) (9cf304f)

4.8.0 (2019-06-23)

Bug Fixes

  • don't redirect to login page if in guest mode (#385) (3ee609d)

Features

  • oauth2: support server-side callback (#381) (af550d4)

4.7.0 (2019-06-13)

Features

  • oauth2: support access_type=offline to enable refresh tokens from google (#303) (9553f5c)

4.6.6 (2019-06-05)

Bug Fixes

  • set-cookie header contains undefined value (#372) (323346e)

4.6.5 (2019-06-03)

Bug Fixes

  • fix typo in serializedCookie (648fdc9)

4.6.4 (2019-06-03)

Bug Fixes

  • server side Set-Cookie always set an array. (#367) (4d3feff)

4.6.3 (2019-05-31)

Bug Fixes

  • module: warn if default strategy is not valid (#365) (db6d3d4)

4.6.2 (2019-05-31)

Bug Fixes

  • module: warn if default strategy is not valid (#365) (db6d3d4)

4.6.1 (2019-05-31)

Bug Fixes

  • storage: accept expires as a number for cookie (dd92ec8)

4.6.0 (2019-05-30)

Bug Fixes

  • accept state, nonce as login args (e5579e9)
  • preserve query params when redirecting (#193) (39fa137)
  • auth: handle mounted errors during init (#234) (03dba23)
  • docs: GitHub capitalize (#246) (725e0c9)
  • docs: GitHub capitalize (#246) (eb7dc9e)
  • docs: spelling fix (#247) (c2b0d7b)
  • docs: typo (#203) (3a0e080)
  • local: prevent loggedIn being incorrectly set to true (#346) (aa5f29d)
  • middleware: remove trailing slash from redirect paths (#235) (398a515)
  • oauth2, auth0: add audience to requests (#222) (174e135)
  • setUserToken: Add fallback to unimplemented strategies (c4691ab)
  • randomString btoa fallback for SSR (#230) (604cc5d)
  • remove default auth0 audience (#239) (abfa084)
  • set extended for body-parser urlencoded to prevent the deprecation warning (#199) (0226836)
  • storage.md: fix typo (a8fbda8)

Features

  • improve storage (#360) (d05fcca)
  • support onRedirect hook (#185) (aacb191)
  • middleware: add guest option in auth middleware (#264) (54b0720)
  • generate nounce for id_token response type (#298) (b730203)
  • oauth2: support passing extra query params (#358) (0d60c2d)
  • use strategy tokenName for requestWith (#301) (8654a48)
  • oauth2-set-state: Allow set state in case it exists on oauth2 provider [#253] (6420ddc)
  • setUserToken: Add functionality to manually set auth token (9f53a4f)
  • add resetOnError (#197) (469f2f8)

4.5.2 (2018-09-18)

Bug Fixes

4.5.1 (2018-05-21)

Bug Fixes

  • module: allow watchLoggedIn (471d59f)

4.5.0 (2018-05-21)

Bug Fixes

  • auth: start watching loggedIn state after current strategy is fully mounted (#80) (2497cc0)
  • docs: add comma following _scheme value (#189) (d993e01)

Features

  • add watchLoggedIn option to optionally disable it (#80) (16a7904)

4.4.0 (2018-05-18)

Bug Fixes

Features

Reverts

4.3.0 (2018-04-28)

Bug Fixes

Features

4.2.1 (2018-04-27)

Bug Fixes

  • storage cookie get on client side (#153) (8275e60)
  • watch loggedIn: disable redirect on direct page loads (#158) (0386eb9)

4.2.0 (2018-04-20)

Bug Fixes

  • 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)

Features

  • 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)

Features

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Features

  • 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)

Performance Improvements

  • module: optimize plugin (b7998c6)

4.0.0-rc.3 (2018-02-04)

Bug Fixes

  • fix scope checks during logout (e2ebd97)

Features

  • refactor init logic to $auth.init and improve error handling (b58ca17)

4.0.0-rc.2 (2018-02-03)

Bug Fixes

  • Auth: register vuex store before all watchers (006650f)

4.0.0-rc.1 (2018-02-03)

Bug Fixes

Features

  • watchState and watchLoggedIn (b628455), closes #52

4.0.0-rc.0 (2018-02-02)

Bug Fixes

Features

Performance Improvements

  • improve cookie handling (c50e68f)

BREAKING CHANGES

  • Lot's of API and Usage changes

3.4.1 (2017-12-29)

Bug Fixes

  • rc11 backward compatibility (c0222e9)

3.4.0 (2017-12-29)

Bug Fixes

  • store: return promise in all actions (1a9a76e)

Features

  • improve compatibility for nuxt 1.0.0 (7740dec)

3.3.0 (2017-12-28)

Features

  • 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)

Bug Fixes

  • store: skip only if token is not set. resolves #20. (23b12d5)

Features

  • store: resetOnFail option (55e2397)

3.1.1 (2017-11-17)

Bug Fixes

  • store: better check for loggedIn (37f22fe)

3.1.0 (2017-11-15)

Features

3.0.1 (2017-11-12)

Bug Fixes

3.0.0 (2017-11-10)

Features

Performance Improvements

BREAKING CHANGES

  • Some options changed and/or simplified

2.0.7 (2017-10-19)

2.0.6 (2017-10-19)

2.0.5 (2017-09-06)

Bug Fixes

2.0.4 (2017-09-05)

Bug Fixes

  • warn when axios module is not registered (6ace50b)

2.0.3 (2017-09-04)

Bug Fixes

  • package: publish templates (eb1706a)

2.0.2 (2017-09-04)

2.0.1 (2017-09-04)

0.0.1 (2017-09-04)