better-auth
Nuxt authentication with sessions, route protection, and plugins
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install nuxt-better-auth?โผ
Run `npx skills add nuxt-modules/better-auth --all -g -y` in your terminal to install this skill globally.
How to add authentication to a Nuxt app?โผ
This skill guides your agent through installing the @nuxtjs/better-auth module, creating the server and client config files, and setting the required secret environment variable.
How to protect pages and API routes in Nuxt?โผ
The skill covers route protection using routeRules, definePageMeta({ auth }), and server-side enforcement with requireUserSession(event).
Does it work with an external auth backend?โผ
Yes. Client-only mode connects your Nuxt frontend to a separate Better Auth server without local auth handlers or server config.
Can it generate the database schema automatically?โผ
Yes. With NuxtHub integration, the module reads your auth config and generates the required database tables automatically.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core