nuxt-better-auth
Authentication module for Nuxt 4+ using Better Auth, providing session management and route protection.
Install
npx skills add https://github.com/onmax/nuxt-skills --skill nuxt-better-authStats
| Total installs | 892 |
| Weekly installs | 880 |
| GitHub stars | 605 |
| First seen | Jan 19, 2026 |
| Source | @onmax/nuxt-skills |
Summary
- Provides useUserSession() composable for client-side auth flows (login, signup, signout) and requireUserSession() server helper for API route protection
- Supports route protection via routeRules and definePageMeta with role-based access control
- Integrates Better Auth plugins including admin, passkey, and 2FA capabilities
- Includes NuxtHub database setup with Drizzle schema and clientOnly mode for external auth backends
- Currently in alpha (v0.0.2-alpha.19) and not recommended for production use
Tags
Related skills
| Skill | Installs | vs nuxt-better-auth |
|---|---|---|
| ossfuzz | 1,171 | +279 |
| php-best-practices | 933 | +41 |
| yara-rule-authoring | 982 | +90 |
| wp-plugin-development | 949 | +57 |
| ghost-scan-code | 1,081 | +189 |
FAQ
- How many installs does nuxt-better-auth have?
- nuxt-better-auth has 892 total installs and 880 installs this week.
- Where is nuxt-better-auth hosted?
- nuxt-better-auth is published by @onmax/nuxt-skills at https://github.com/onmax/nuxt-skills.
- How many GitHub stars does nuxt-better-auth have?
- nuxt-better-auth has 605 GitHub stars.
- When was nuxt-better-auth first indexed?
- OrangeBot.AI first indexed nuxt-better-auth on Jan 19, 2026.
- How do I install nuxt-better-auth?
- Run: npx skills add https://github.com/onmax/nuxt-skills --skill nuxt-better-auth