@hebilicious/authjs-nuxt
v0.3.5
Published
[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![CI](https://github.com/Hebilicious/authjs-nuxt/actions/workflows/ci.yaml/badge.svg)](https://github.com/Hebilicious/authjs-nuxt/actions/workfl
Downloads
2,735
Readme
⚗️ AuthJS Nuxt
🚀 Welcome to AuthJS Nuxt! This is an edge compatible experimental Nuxt module currently in its alpha stage. This module uses the Auth.js core implementation under the hood.
⚠️ Disclaimer
🧪 This module like Auth.js, is still in developement. Contributions are welcome !
Documentation
You can find the documentation for this module on the website; and the documentation for auth.js here. You can also find working examples of this module in the playgrounds, on in this repository.
Why not?
Why not use use Sidebase Nuxt-Auth?
- Because it's based on Next-Auth and not Auth.js.
- Because it's not edge compatible. This module is.
Why not use Auth.js directly?
- You can. However, Auth.js is currently being rewritten from Next-Auth, and wiring everything with Nuxt for the edge isn't straightforward. This gives you a good starting point and a reference implementation.
Why should I use this package? I'd rather build my own auth!
- Auth.js gives you a good starting point, and has plenty of adapters and database drivers, and so does this package.
- If you want to DIY even more, You can use something like Lucia.
Why ?
- It's based on Auth.js
- It works everywhere (tested on the edge)
- It's lightweight
- It's Nuxt
📦 Contributing
Contributions, issues and feature requests are welcome!
Fork this repo
Use
bun i
at the mono-repo root.Make modifications and follow conventional commits.
Open a PR 🚀🚀🚀