# \#vue-3

**URL:** https://community.auth0.com/tag/vue-3/1661.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Nuxt3 Auth0 Client](https://community.auth0.com/t/nuxt3-auth0-client/186214)

<div class="topic-metadata">

**Author:** [@brodie.davis](https://community.auth0.com/u/brodie.davis)\
**Replies:** 2\
**Last updated:** [October 16, 2025, 3:58pm UTC](https://community.auth0.com/t/nuxt3-auth0-client/186214 "2025-10-16T15:58:58Z")

</div>

Several threads have existed talking about a “Nuxt3 SDK coming soon”. The latest (183976) references the end of Q1 2025, which is now - any updates on it?

---

## [How to get access token in my axios global config file - Vue 3](https://community.auth0.com/t/how-to-get-access-token-in-my-axios-global-config-file-vue-3/93725)

<div class="topic-metadata">

**Author:** [@hish](https://community.auth0.com/u/hish)\
**Replies:** 3\
**Last updated:** [May 21, 2024, 6:39pm UTC](https://community.auth0.com/t/how-to-get-access-token-in-my-axios-global-config-file-vue-3/93725 "2024-05-21T18:39:25Z")

</div>

Hello, hope you’re all well :slight\_smile: I’m trying to avoid manually calling the getAccessTokenSilently() line everytime I want to call my API and just use the Axios global defaults. I’ve created an axios.js file in …

---

## [How do I mock out useAuth0 for a Vitest?](https://community.auth0.com/t/how-do-i-mock-out-useauth0-for-a-vitest/91837)

<div class="topic-metadata">

**Author:** [@jgleason](https://community.auth0.com/u/jgleason)\
**Replies:** 2\
**Last updated:** [May 13, 2024, 3:15pm UTC](https://community.auth0.com/t/how-do-i-mock-out-useauth0-for-a-vitest/91837 "2024-05-13T15:15:33Z")

</div>

I am using Auth0-Vue with Vite. Everything works great except for testing. When I run I get… TypeError: Cannot destructure property ‘isAuthenticated’ of ‘useAuth0(…)’ as it is undefined. I can hack fix it by changing…

---

## [@auth0/cordova with Vite](https://community.auth0.com/t/auth0-cordova-with-vite/80945)

<div class="topic-metadata">

**Author:** [@customautosys](https://community.auth0.com/u/customautosys)\
**Replies:** 5\
**Last updated:** [April 25, 2023, 9:22am UTC](https://community.auth0.com/t/auth0-cordova-with-vite/80945 "2023-04-25T09:22:31Z")

</div>

Hi, has anyone managed to get @auth0/cordova working with Vite? Currently I am stuck due to the crypto library. I have tried rollup-plugin-node-builtins, rollup-plugin-node-polyfills and rollup-plugin-polyfill-node to n…

---

## [Vue Auth0 example returns error](https://community.auth0.com/t/vue-auth0-example-returns-error/92229)

<div class="topic-metadata">

**Author:** [@cajawallace](https://community.auth0.com/u/cajawallace)\
**Replies:** 1\
**Last updated:** [October 27, 2022, 5:17pm UTC](https://community.auth0.com/t/vue-auth0-example-returns-error/92229 "2022-10-27T17:17:37Z")

</div>

Hello, i have copied the Vue SDK quickstart guide to the letter. Auth0 Vue SDK Quickstarts: Login I have installed the library via npm install @auth0/auth0-vue then registered the plugin and copied the login page, a…

---

## [Getting user role from auth0-vue](https://community.auth0.com/t/getting-user-role-from-auth0-vue/85013)

<div class="topic-metadata">

**Author:** [@roman2](https://community.auth0.com/u/roman2)\
**Replies:** 2\
**Last updated:** [June 15, 2022, 7:03pm UTC](https://community.auth0.com/t/getting-user-role-from-auth0-vue/85013 "2022-06-15T19:03:10Z")

</div>

Hi all, i am using “@auth0/auth0-vue”: “^1.0.1”, and I am looking for a good way to get get the user roles. In my vue2 project I used the auth0-spa-js and I added this function to a wrapper isUserRole (role) { const u…

---

## [Auth0 and Vue Error: Unauthorized](https://community.auth0.com/t/auth0-and-vue-error-unauthorized/82275)

<div class="topic-metadata">

**Author:** [@chemmso](https://community.auth0.com/u/chemmso)\
**Replies:** 3\
**Last updated:** [May 19, 2022, 11:37am UTC](https://community.auth0.com/t/auth0-and-vue-error-unauthorized/82275 "2022-05-19T11:37:13Z")

</div>

I’m trying to set up Auth0 in a Vue app using auth0-vue and the samples contained in the repo, however I am getting 2 different errors in my console and I am not sure why. The first error I get is as soon as I load my vu…
