# Getting "access\_denied" error after verifying my email address

**URL:** <https://community.auth0.com/t/getting-access-denied-error-after-verifying-my-email-address/67949>\
**Category:** Get Help\
**Tags:** auth0-spa-js, access\_denied, login\
**Created:** [August 14, 2021, 11:24pm UTC](https://community.auth0.com/t/getting-access-denied-error-after-verifying-my-email-address/67949 "2021-08-14T23:24:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bensoutendijk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bensoutendijk/32/31144_2.png) [@bensoutendijk](https://community.auth0.com/u/bensoutendijk)\
**Post date:** [August 14, 2021, 11:24pm UTC](https://community.auth0.com/t/getting-access-denied-error-after-verifying-my-email-address/67949/1 "2021-08-14T23:24:26Z")

</div>

I am able to sign up and log in with Auth0 in my Vue.js app, but after I verify my email for my account, I can no longer log in. Instead, I get an access denied error.

I also get this error when trying to manually verify another user’s email “Error!You don’t have permissions to access the resource”

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 16, 2021, 7:57pm UTC](https://community.auth0.com/t/getting-access-denied-error-after-verifying-my-email-address/67949/3 "2021-08-16T19:57:23Z")

</div>

Hi @bensoutendijk,

Does the access denied error have a detail or message associated with it? You can look in your logs (in the dashboard) and there may be more detail.

What do you mean by “manually verify another user’s email”?

---

<div class="post-metadata">

**Author:** ![bensoutendijk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bensoutendijk/32/31144_2.png) [@bensoutendijk](https://community.auth0.com/u/bensoutendijk)\
**Post date:** [August 16, 2021, 8:11pm UTC](https://community.auth0.com/t/getting-access-denied-error-after-verifying-my-email-address/67949/4 "2021-08-16T20:11:20Z")

</div>

I had a couple different issues with Auth0 a few days ago. First, I was trying to use Auth0 with my Vuejs App. After signing up, I was able to log in to my app with Auth0. However, after verifying the email for the newly created account, The login was giving me this error I pulled from the logs.

```auto
"error": {
      "message": "Access denied.",
      "oauthError": "unauthorized",
      "type": "oauth-authorization"
    },

```

Second, I was getting errors when trying to use the [manage.auth0.com](http://manage.auth0.com) app. I couldn’t seem to create a new tenant or verify a user’s email address (I was doing this manually from the User management pages) among other things.

I removed Auth0 from my app after having these issues, so I cannot easily test if the first issue was fixed, but the second issue seems to have resolved itself. I was able to create a new tenant for my account and use the User management page to verify an email address.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 16, 2021, 9:07pm UTC](https://community.auth0.com/t/getting-access-denied-error-after-verifying-my-email-address/67949/5 "2021-08-16T21:07:39Z")

</div>

Thanks for the update. Let me know if you still experience the issues. I am going to mark this as resolved for now.

---

<div class="post-metadata">

**Author:** ![bensoutendijk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bensoutendijk/32/31144_2.png) [@bensoutendijk](https://community.auth0.com/u/bensoutendijk)\
**Post date:** [August 16, 2021, 9:24pm UTC](https://community.auth0.com/t/getting-access-denied-error-after-verifying-my-email-address/67949/6 "2021-08-16T21:24:15Z")

</div>

I just tested logging in with Auth0 again and I am still getting the same issue. Works fine until I verify my email. Then I get the same “oauthError” message

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 17, 2021, 6:58pm UTC](https://community.auth0.com/t/getting-access-denied-error-after-verifying-my-email-address/67949/7 "2021-08-17T18:58:09Z")

</div>

Can you please DM me the name of your tenant?

---

<div class="post-metadata">

**Author:** ![bensoutendijk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bensoutendijk/32/31144_2.png) [@bensoutendijk](https://community.auth0.com/u/bensoutendijk)\
**Post date:** [August 17, 2021, 7:35pm UTC](https://community.auth0.com/t/getting-access-denied-error-after-verifying-my-email-address/67949/8 "2021-08-17T19:35:15Z")

</div>

I was able to solve the issue by turning off the Email Whitelist Rule under the Rules section of the tenant settings. I’m not sure how this rule was created as I made this tenant a long time ago.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 17, 2021, 7:35pm UTC](https://community.auth0.com/t/getting-access-denied-error-after-verifying-my-email-address/67949/9 "2021-08-17T19:35:41Z")

</div>

You must have created it, as rules are not created by default.

---

<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 1, 2021, 7:36pm UTC](https://community.auth0.com/t/getting-access-denied-error-after-verifying-my-email-address/67949/10 "2021-09-01T19:36:17Z")

</div>

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