🔐 Nuxt user authentication and sessions via authjs (next-auth), local and refresh providers. nuxt-auth wraps NextAuth.js to offer the reliability & convenience of a 12k star library to the nuxt 3 ecosystem with a native developer experience (DX)
nuxi module add
command in installation by @danielroe in https://github.com/sidebase/nuxt-auth/pull/724
Full Changelog: https://github.com/sidebase/nuxt-auth/compare/0.7.1...0.7.2
Full Changelog: https://github.com/sidebase/nuxt-auth/compare/0.7.0...0.7.1
ModuleOptionsNormalized
type by @phoenix-ru in https://github.com/sidebase/nuxt-auth/pull/665
appendHeader
in auth handler by @phoenix-ru in https://github.com/sidebase/nuxt-auth/pull/693
Full Changelog: https://github.com/sidebase/nuxt-auth/compare/0.6.7...0.7.0
ModuleOptionsNormalized
type by @phoenix-ru in https://github.com/sidebase/nuxt-auth/pull/665
appendHeader
in auth handler by @phoenix-ru in https://github.com/sidebase/nuxt-auth/pull/693
Full Changelog: https://github.com/sidebase/nuxt-auth/compare/0.6.7...0.7.0-rc.0
This release reverts the changes made in https://github.com/sidebase/nuxt-auth/releases/tag/0.6.6, which could result in content flashes.
Full Changelog: https://github.com/sidebase/nuxt-auth/compare/0.6.5...0.6.6
Full Changelog: https://github.com/sidebase/nuxt-auth/compare/0.6.5...0.6.6
server/
directory by @danielroe in https://github.com/sidebase/nuxt-auth/pull/639
Full Changelog: https://github.com/sidebase/nuxt-auth/compare/0.6.4...0.6.5
Full Changelog: https://github.com/sidebase/nuxt-auth/compare/0.6.3...0.6.4
refresh
provider by @zoey-kaiser in https://github.com/sidebase/nuxt-auth/pull/603
Full Changelog: https://github.com/sidebase/nuxt-auth/compare/0.6.2...0.6.3
In this version we introduce a first version of the refresh
provider. It is based on the previously added local
, but extends it to also allow you to retrieve a refresh token to periodically refresh your session. You can read more about this here.
A bit thanks to @dommi10 and @Danielwinkelmann for adding this new provider 💪
pnpm i -D @sidebase/[email protected]
https://www.npmjs.com/package/@sidebase/nuxt-auth
Full Changelog: https://github.com/sidebase/nuxt-auth/compare/0.6.2...0.6.3-alpha.1