# RBAC permissions issue on API

**URL:** <https://community.auth0.com/t/rbac-permissions-issue-on-api/185724>\
**Category:** Get Help\
**Tags:** apis, application\
**Created:** [April 20, 2025, 9:32pm UTC](https://community.auth0.com/t/rbac-permissions-issue-on-api/185724 "2025-04-20T21:32:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maurosimoes9](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/maurosimoes9/32/71118_2.png) [@maurosimoes9](https://community.auth0.com/u/maurosimoes9)\
**Post date:** [April 20, 2025, 9:32pm UTC](https://community.auth0.com/t/rbac-permissions-issue-on-api/185724/1 "2025-04-20T21:32:54Z")

</div>

I’m trying to implement RBAC on my Spring Boot API and i’ve activated the Enable RBAC and Add Permissions in the Access Token options in the API.

My user has permissions yet when i check the access token the permissions claim is included but its an empty list.

The audience in my SPA is set and correct as well so its not that.

How do i fix this issue?

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [April 22, 2025, 5:16pm UTC](https://community.auth0.com/t/rbac-permissions-issue-on-api/185724/3 "2025-04-22T17:16:18Z")

</div>

Hi @maurosimoes9

Welcome to the Auth0 Community!

I would advise you to review the following articles regarding integrating RBAC with Spring Boot Api:

- [Add Security and Authorization to a Java Spring Boot API](https://auth0.com/blog/spring-boot-authorization/#Role-Based-Access-Control--RBAC-)
- [Role-Based Access Control in Spring Boot](https://developer.auth0.com/resources/guides/web-app/spring/basic-role-based-access-control)

Let me know if you have any other questions on the matter!

Kind Regards.  
Nik

---

<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:** [May 6, 2025, 5:17pm UTC](https://community.auth0.com/t/rbac-permissions-issue-on-api/185724/4 "2025-05-06T17:17:07Z")

</div>

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