auth0-vue

auth0-vue

Use when adding Auth0 login, logout, protected routes, or user sessions to a Vue 3 SPA. Integrates @auth0/auth0-vue — use even if the user says \"add login to my Vue app\" or \"protect my Vue routes\" without naming the SDK.

52Star
28Fork
更新于 2026/10/2
请求的译文尚未完成,当前显示原始英文。
SKILL.md
只读
名称
auth0-vue
描述

Use when adding Auth0 login, logout, protected routes, or user sessions to a Vue 3 SPA. Integrates @auth0/auth0-vue — use even if the user says \"add login to my Vue app\" or \"protect my Vue routes\" without naming the SDK.

Auth0 Vue.js Integration

Add authentication to Vue.js 3 single-page applications using @auth0/auth0-vue.

Prerequisites

  • Vue 3+ application (Vite or Vue CLI)

  • Auth0 account and application configured

  • If you don't have Auth0 set up yet, use the auth0-quickstart skill first

When NOT to Use

  • Server-side rendered Vue apps - See Auth0 Nuxt.js guide for SSR patterns

  • Vue 2 applications - This SDK requires Vue 3+, use legacy @auth0/auth0-spa-js wrapper

  • Embedded login - This SDK uses Auth0 Universal Login (redirect-based)

  • Backend API authentication - Use express-openid-connect or JWT validation instead