
Nuxt Better Auth
The nuxt-better-auth module provides authentication for Nuxt 4+ applications built on Better Auth, offering composables like useUserSession, server utilities, route protection middleware, and integration with Better Auth plugins. It is designed for developers implementing authentication flows, protecting routes, managing user sessions, and integrating advanced features like passkeys and two-factor authentication in Nuxt applications. The module solves the need for a batteries-included authentication solution in Nuxt that handles client-side login/signup/signout, server-side session management, and route-level access control.
- skills.sh installs
- 2.1K
- GitHub stars
- 723
- last updated
- Aug 21, 2026
Install
$ npx -y skills add onmax/nuxt-skills --skill nuxt-better-auth --agent claude-codeInstalls into .claude/skills of the current project.
Files
Nuxt Better Auth
Use the smallest reference that matches the task.
Pick a reference
| Task | Read |
|---|---|
| Install the module, configure environment variables, or create config files | references/installation.md |
| Read client session state, build auth forms, call plugins, or fetch auth-bound data | references/client-auth.md |
| Read or enforce sessions in server handlers, create sessions, or refresh cached session data | references/server-auth.md |
| Protect pages or API routes and configure redirects | references/route-protection.md |
| Register Better Auth plugins and their client companions | references/plugins.md |
| Configure NuxtHub, generated schema, or secondary storage | references/database.md |
| Connect a Nuxt frontend to an external Better Auth server | references/client-only.md |
| Use inferred auth types or add project fields | references/types.md |
Rules that apply across tasks
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/onmax/nuxt-skills
- Categories
- Frontend Development, Backend & APIs
More from onmax/nuxt-skills
All 21Recommended
More Frontend Development1
zustandvercel-labs/json-renderZustand adapter for json-render's StateStore interface. Use when integrating json-render with Zustand for state management via @json-render/zustand.1.9Kskills.sh installs
3
ce-frontend-designeveryinc/compound-engineering-pluginBuild web interfaces with genuine design quality, not AI slop. Use for any frontend work - landing pages, web apps, dashboards, admin panels, components, intera1.8Kskills.sh installs
4
oo-component-documentationgithub/awesome-copilotCreate or update standardized object-oriented component documentation using a shared template plus mode-specific guidance for new and existing docs.1.8Kskills.sh installs
6
frontend-design-directionaffaan-m/everything-claude-codefrontend design direction1.7Kskills.sh installs