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.
npx skills add https://github.com/auth0/agent-skills --skill auth0-nuxt