Technical & DevelopmentIntermediate
auth0-nuxt
Add authentication to Nuxt 3/4 applications.
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/auth0/agent-skills --skill auth0-nuxtnpx skills add https://github.com/auth0/agent-skills --skill auth0-nuxtOr paste this URL into your assistant to install:
Overview
What This Skill Does
#
Application
When to use this Skill
- Adding secure Auth0 authentication to a Nuxt application
- Implementing standard login, logout, and token authentication flows in Nuxt
- Managing user session state and securing frontend/backend routes using Auth0 SDKs
Documentation
Show Skills.md file
Auth0 Nuxt SDK
Overview
Server-side session authentication for Nuxt 3/4. NOT the same as @auth0/auth0-vue (client-side SPA).
Core principle: Uses server-side encrypted cookie sessions, not client-side tokens.
When to Use
Use this when:
- Building Nuxt 3/4 applications with server-side rendering (Node.js 20 LTS+)
- Need secure session management with encrypted cookies
- Protecting server routes and API endpoints
- Accessing Auth0 Management API or custom APIs
Don't use this when:
- Using Nuxt 2 (not supported - use different Auth0 SDK)
- Building pure client-side SPA without server (use @auth0/auth0-vue instead)
- Using non-Auth0 authentication provider
- Static site generation only (SSG) without server runtime
Critical Mistakes to Avoid
| Mistake | Solution |
Lines 1 - 25 of 226
Recommendations