That version is patched by:
- If there is an error during fetchUser - it won't thrown outside the module. In our code the error occurred because for unlogged user endpoint returns
false
instead of{}
- Cookie strategy looks only for cookie existance to send an auth request, instead of token check + cookie in main repo (probably bug)
- Introduced
httpOnly
option for cookie to skip cheking cookies on client before the request (because cookie is http only and unreadable from client) - Default user data is
{}
, instead offalse
for backward compatibility with our project
Release:
- yarn bump-next && yarn build
- push
- create new release with v from package.json https://github.com/Bravado-network/auth-module/releases
===================
Zero-boilerplate authentication support for Nuxt.js!
🚧 please see status page in documentation.
Running demo for development:
$ yarn install
$ yarn dev
Running tests for development:
$ yarn build
$ yarn nuxt build test/fixture
$ yarn jest
MIT License - Copyright (c) Nuxt Community