auth0 avatar

Auth0 Nuxt

This is the official Auth0 SDK skill for Nuxt 3/4, handling server-side session authentication with encrypted cookies. It's for full-stack Nuxt apps with SSR, not pure SPAs (that's what auth0-vue is for). The skill covers the critical config mistakes people make, like using the wrong Auth0 app type or mixing up environment variable prefixes. It walks through protecting routes at three layers (client middleware, server middleware, API guards) and includes patterns for stateful sessions with Redis or MongoDB when cookie size becomes an issue. The security model is clear: useUser() is for display only, actual auth checks happen server-side with getSession(). Good reference material if you're wiring up Auth0 in a Nuxt project and want to avoid the common pitfalls.

skills.sh installs
594
GitHub stars
56
last updated
Aug 21, 2026

Install

$ npx -y skills add auth0/agent-skills --skill auth0-nuxt --agent claude-code

Installs into .claude/skills of the current project.

Files

This is the official Auth0 SDK skill for Nuxt 3/4, handling server-side session authentication with encrypted cookies. It's for full-stack Nuxt apps with SSR, not pure SPAs (that's what auth0-vue is for). The skill covers the critical config mistakes people make, like using the wrong Auth0 app type or mixing up environment variable prefixes. It walks through protecting routes at three layers (client middleware, server middleware, API guards) and includes patterns for stateful sessions with Redis or MongoDB when cookie size becomes an issue. The security model is clear: useUser() is for display only, actual auth checks happen server-side with getSession(). Good reference material if you're wiring up Auth0 in a Nuxt project and want to avoid the common pitfalls.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/auth0/agent-skills
Categories
Frontend Development, AI & Agent Building
First seen
Jun 3, 2026

More from auth0/agent-skills

All 23
1claude-skills avatarsveltekit-svelte5-tailwind-skillclaude-skills/sveltekit-svelte5-tailwind-skillsveltekit svelte5 tailwind skill586skills.sh installs
2sickn33 avatarfrontend-slidessickn33/antigravity-awesome-skillsfrontend slides553skills.sh installs
3alfredoperez avatarangular-best-practices-materialalfredoperez/angular-best-practicesangular best practices material522skills.sh installs
4alinaqi avatarreact-nativealinaqi/claude-bootstrapreact native517skills.sh installs
5different-ai avatartauri-solidjsdifferent-ai/openworkTauri 2.x + SolidJS stack for OpenWork native app515skills.sh installs
6manutej avatarresponsive-designmanutej/luxor-claude-marketplaceMobile-first responsive design covering fluid layouts, media queries, flexbox, grid, viewport units, and responsive images513skills.sh installs