Skip to content

🔑 Zero-boilerplate authentication support for Nuxt

License

Notifications You must be signed in to change notification settings

Bravado-network/auth-module

 
 

Repository files navigation

That version is patched by:

  1. 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 {}
  2. Cookie strategy looks only for cookie existance to send an auth request, instead of token check + cookie in main repo (probably bug)
  3. Introduced httpOnly option for cookie to skip cheking cookies on client before the request (because cookie is http only and unreadable from client)
  4. Default user data is {}, instead of false for backward compatibility with our project

Release:

===================

🔑 Auth Module

Zero-boilerplate authentication support for Nuxt.js!


Read Documentation

🚧 please see status page in documentation.

Development

Running demo for development:

$ yarn install
$ yarn dev

Running tests for development:

$ yarn build
$ yarn nuxt build test/fixture
$ yarn jest

License

MIT License - Copyright (c) Nuxt Community

About

🔑 Zero-boilerplate authentication support for Nuxt

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 96.6%
  • JavaScript 2.7%
  • Other 0.7%