Introduction

Auth Module for NuxtJS.

Zero-boilerplate authentication support for Nuxt.js!

The module authenticates users using a configurable authentication scheme or by using one of the directly supported providers. It provides an API for triggering authentication and accessing resulting user information. While it takes care of storing the information on the client-side, it does NOT implement session handling or provide session based authentication on the NuxtJS server.

Getting Started

If it is first time using this module, reading resources below in order is recommended:

  1. Add auth and axios modules
  2. Setup auth middleware
  3. Configure local scheme
  4. Customize options
  5. Use $auth service

You can also watch a video introduction by VueScreencasts. It covers the same material, but in the context of a working Nuxt app.

Nuxt Auth - Authentication and Authorization in NuxtJS

More Resources

Edit this page on GitHub Updated at Wed, Nov 24, 2021