onmax avatar

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-code

Installs into .claude/skills of the current project.

Files

Nuxt Better Auth

Use the smallest reference that matches the task.

Pick a reference

TaskRead
Install the module, configure environment variables, or create config filesreferences/installation.md
Read client session state, build auth forms, call plugins, or fetch auth-bound datareferences/client-auth.md
Read or enforce sessions in server handlers, create sessions, or refresh cached session datareferences/server-auth.md
Protect pages or API routes and configure redirectsreferences/route-protection.md
Register Better Auth plugins and their client companionsreferences/plugins.md
Configure NuxtHub, generated schema, or secondary storagereferences/database.md
Connect a Nuxt frontend to an external Better Auth serverreferences/client-only.md
Use inferred auth types or add project fieldsreferences/types.md

Rules that apply across tasks

Sponsors

Details

Repository
github.com/onmax/nuxt-skills
Categories
Frontend Development, Backend & APIs

More from onmax/nuxt-skills

All 21
1vercel-labs avatarzustandvercel-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
2affaan-m avatarfrontend-designaffaan-m/everything-claude-codefrontend design1.8Kskills.sh installs
3everyinc avatarce-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
4github avataroo-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
5affaan-m avatarangular-developeraffaan-m/everything-claude-codeangular developer1.7Kskills.sh installs
6affaan-m avatarfrontend-design-directionaffaan-m/everything-claude-codefrontend design direction1.7Kskills.sh installs