# Permissions claim empty

**URL:** <https://community.auth0.com/t/permissions-claim-empty/137414>\
**Category:** Get Help\
**Tags:** auth0-spa-js, sdks-quickstarts\
**Created:** [June 25, 2024, 9:09pm UTC](https://community.auth0.com/t/permissions-claim-empty/137414 "2024-06-25T21:09:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgazza](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mgazza/32/48770_2.png) [@mgazza](https://community.auth0.com/u/mgazza)\
**Post date:** [June 25, 2024, 9:09pm UTC](https://community.auth0.com/t/permissions-claim-empty/137414/1 "2024-06-25T21:09:48Z")

</div>

Having followed [Vue with Composition API (JavaScript) + Standard Library (Golang) Code Sample: Basic Role-Based Access Control (RBAC) for Hello World Full-Stack App](https://developer.auth0.com/resources/code-samples/full-stack/hello-world/basic-role-based-access-control/spa/vue-javascript-with-composition-api/standard-library-golang)

The permissions claim is always empty, so I can’t complete the tutorial.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [June 25, 2024, 9:28pm UTC](https://community.auth0.com/t/permissions-claim-empty/137414/2 "2024-06-25T21:28:56Z")

</div>

Hey there @mgazza welcome to the community!

> [@mgazza](#):
>
> The permissions claim is always empty, so I can’t complete the tutorial.

So at this point you’re getting an access token that is a jwt (not [opaque](https://auth0.com/docs/secure/tokens/access-tokens#opaque-access-tokens)), and it has a permission claim, but that claim is empty? Can you confirm:

- In the API settings for the API registered in Auth0 you have `Enable RBAC` and `Add permissions in the access token` enabled

- You have a role with corresponding API permissions assigned to the user

- The `audience` claim is that of the correct API (API identifier in Auth0 dashboard)

---

<div class="post-metadata">

**Author:** ![mgazza](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mgazza/32/48770_2.png) [@mgazza](https://community.auth0.com/u/mgazza)\
**Post date:** [June 25, 2024, 9:32pm UTC](https://community.auth0.com/t/permissions-claim-empty/137414/4 "2024-06-25T21:32:36Z")

</div>

Wow that was really hard to spot!  
Thank you I found the bit of the tutorial I missed!

 ![image](https://global.discourse-cdn.com/auth0/original/3X/c/8/c826253a24dd437a343261318245ac7398af8c03.png)

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [June 25, 2024, 9:37pm UTC](https://community.auth0.com/t/permissions-claim-empty/137414/5 "2024-06-25T21:37:55Z")

</div>

Ah! That’s definitely easy to miss - Glad you were able to get it sorted 🙂

---

<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:** [July 9, 2024, 9:38pm UTC](https://community.auth0.com/t/permissions-claim-empty/137414/6 "2024-07-09T21:38:46Z")

</div>

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