Authentication library for Nuxt 3+ applications, supporting OAuth, credentials, and email magic links.
@sidebase/nuxt-auth is an authentication library specifically built for Nuxt 3+ applications. It enables developers to easily add authentication using various methods like OAuth providers, credentials, or email magic URLs, providing a seamless way to secure universal Nuxt apps.
Nuxt 3+ developers building applications that require user authentication, whether for dynamic server-rendered apps or static sites with external backends.
Developers choose @sidebase/nuxt-auth for its native integration with Nuxt 3+, offering a familiar developer experience, full TypeScript support, and flexible authentication providers without needing to configure authentication from scratch.
Authentication built for Nuxt 3! Easily add authentication via OAuth providers, credentials or Email Magic URLs!
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Seamlessly integrates as a Nuxt module with composables like useAuth, providing a familiar developer experience, as shown in the quick start setup with module addition to nuxt.config.ts.
Supports multiple providers including OAuth, credentials, and email magic URLs, allowing developers to choose the best fit, with evidence from the features list in the README.
Offers configurable session refresh behaviors like periodic refresh and refresh on tab refocus, detailed in the advanced features section for lifecycle management.
Includes server-side middleware and endpoint protection utilities, enabling secure session and token access via getServerSession and getToken, as highlighted in the server-side utilities.
The split between authjs for non-static apps and local for static apps can confuse users, requiring careful selection and setup based on application type, which adds initial configuration overhead.
Key configuration details and guides are hosted on an external docs site, which might lead to fragmentation and potential outdated information compared to the GitHub repository.
While custom OAuth is supported, implementing it requires additional configuration and understanding of Auth.js, adding to development time and complexity.