# Permissions inside a react app

**URL:** <https://community.auth0.com/t/permissions-inside-a-react-app/62088>\
**Category:** Get Help\
**Tags:** react, permissions\
**Created:** [May 2, 2021, 5:15pm UTC](https://community.auth0.com/t/permissions-inside-a-react-app/62088 "2021-05-02T17:15:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabian.boerner](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fabian.boerner/32/13074_2.png) [@fabian.boerner](https://community.auth0.com/u/fabian.boerner)\
**Post date:** [May 2, 2021, 5:15pm UTC](https://community.auth0.com/t/permissions-inside-a-react-app/62088/1 "2021-05-02T17:15:11Z")

</div>

Hi,

im looking for away to get the permissions in react frontend.

Roles alone will not fit because the role only determines what permissions youve got and to make a role for every permission is a little bit much.

I now tried the auth extension but didnt found a suiteable way.

---

<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:** [May 4, 2021, 9:19pm UTC](https://community.auth0.com/t/permissions-inside-a-react-app/62088/3 "2021-05-04T21:19:43Z")

</div>

Hi @fabian.boerner,

Welcome to the Community!

There are some strategies that have been discussed in the Community but there isn’t a single solution that has become the accepted best practice. This request would make a great [feature request in our new feedback category](https://community.auth0.com/c/feedback/95). Would you please make a topic there and we can start to understand the demand for this?

If you’re interested in the current discussions about this, here is a topic about it that could be helpful.

> [@Accessing the permissions array in the access token](https://community.auth0.com/t/accessing-the-permissions-array-in-the-access-token/27559):
>
> How does one go about accessing the list of permissions returned with the access token? I am using the react-auth0-spa module (containing the Auth0Provider functional component) in combination with the PrivateRoute component (see [https://github.com/auth0-samples/auth0-react-samples/blob/master/01-Login/src/components/PrivateRoute.js](https://github.com/auth0-samples/auth0-react-samples/blob/master/01-Login/src/components/PrivateRoute.js)) and it isn’t clear how to de-reference the permissions array. I have a route for example the Settings page that should only be accessed by Super Admins that have …

---

<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 19, 2021, 9:20pm UTC](https://community.auth0.com/t/permissions-inside-a-react-app/62088/4 "2021-05-19T21:20:06Z")

</div>

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