# Errors running Vue Quickstart

**URL:** <https://community.auth0.com/t/errors-running-vue-quickstart/46951>\
**Category:** Get Help\
**Tags:** vuejs\
**Created:** [July 26, 2020, 5:25pm UTC](https://community.auth0.com/t/errors-running-vue-quickstart/46951 "2020-07-26T17:25:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![forstmeier](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/forstmeier/32/21490_2.png) [@forstmeier](https://community.auth0.com/u/forstmeier)\
**Post date:** [July 26, 2020, 5:25pm UTC](https://community.auth0.com/t/errors-running-vue-quickstart/46951/1 "2020-07-26T17:25:48Z")

</div>

Hi!

I’ve worked with Auth0 before but I’m having a lot of trouble trying to get the Vue [Quickstart](https://auth0.com/docs/quickstart/spa/vuejs/01-login) to work properly. The issues are:

- After adding in the required `Auth0Plugin` plugin as per the Quickstart, attempting to login from the “Home” screen returns a 401 with `{error: "access_denied", error_description: "Unauthorized"}`
- The History on the User page in the Auth0 dashboard seems to indicate that there was a successful login
- The application does _not_ redirect to the desired page after the “successful” login
- Have a Rule that is supposed to read from `app_metadata` and add to the JWT but I get `undefined` when attempting to read `user.app_metadata`
- I turned off that Rule in an attempt to try and get the login working but no luck their either

Any guidance on this would be great - I’m trying to use Auth0 as the user management section of a side project I’m working on so I’m only on the free tier currently.

Best,  
John

---

<div class="post-metadata">

**Author:** ![forstmeier](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/forstmeier/32/21490_2.png) [@forstmeier](https://community.auth0.com/u/forstmeier)\
**Post date:** [July 27, 2020, 2:43am UTC](https://community.auth0.com/t/errors-running-vue-quickstart/46951/2 "2020-07-27T02:43:40Z")

</div>

I was able to fix the issue of the application working at all by changing the App type and the setting the _Token Endpoint Authentication Method_ to `None` before switching the App type back to SPA (weird fix that doesn’t seem to have documentation). However, I’m still running into issues not being able to read `app_metadata` from a Rule. Thoughts?

---

<div class="post-metadata">

**Author:** ![jreidko](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jreidko/32/15922_2.png) [@jreidko](https://community.auth0.com/u/jreidko)\
**Post date:** [August 27, 2020, 1:54pm UTC](https://community.auth0.com/t/errors-running-vue-quickstart/46951/3 "2020-08-27T13:54:08Z")

</div>

I had this same issue and forstmeier’s solution fixed it for me as well.

In my case, working in a local dev instance through the Vue/Auth0 quick start and tutorials (multiple) all had the same issue in that i would get a 401 whenever attempting a connection to [https://MYDOMAIN.auth0.com/oauth/token](https://MYDOMAIN.auth0.com/oauth/token)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 27, 2020, 2:08pm UTC](https://community.auth0.com/t/errors-running-vue-quickstart/46951/4 "2020-08-27T14:08:30Z")

</div>

Thanks a lot for sharing that with the rest of community!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [September 11, 2020, 2:08pm UTC](https://community.auth0.com/t/errors-running-vue-quickstart/46951/5 "2020-09-11T14:08:42Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
