# Adding create:user\_tickets scope for React app

**URL:** <https://community.auth0.com/t/adding-create-user-tickets-scope-for-react-app/113144>\
**Category:** Get Help\
**Tags:** tickets, management-api\
**Created:** [August 8, 2023, 1:08pm UTC](https://community.auth0.com/t/adding-create-user-tickets-scope-for-react-app/113144 "2023-08-08T13:08:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![msing](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@msing](https://community.auth0.com/u/msing)\
**Post date:** [August 8, 2023, 1:08pm UTC](https://community.auth0.com/t/adding-create-user-tickets-scope-for-react-app/113144/1 "2023-08-08T13:08:04Z")

</div>

I am trying to create a password change ticket using the Auth0 Management API from a React application. I tried to set the “create:user\_tickets” scope but when I receive my token back that scope is missing. All other scopes I have set work (openid email profile read:current\_user update:current\_user\_metadata) and my other calls to management API for user profile information work as well. I have the audience set to the management API in the Authorization params in Auth0 Provider.

Is this a limitation with a single page application?  
Using the @auth0/auth0-react package.

---

<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 14, 2023, 1:28pm UTC](https://community.auth0.com/t/adding-create-user-tickets-scope-for-react-app/113144/3 "2023-08-14T13:28:07Z")

</div>

Hi @msing,

Welcome to the Auth0 Community!

Yes, there is a limitation for public clients when requesting tokens for the Management API. This includes `create:user_tickets` scopes. For example, if a user was to inspect the React app and grab the token with this scope, they could change _any user’s password_.

This type of request should be made from a secure backend or API.

> **[Get Management API Access Tokens for Single-Page Applications](https://auth0.com/docs/secure/tokens/access-tokens/get-management-api-tokens-for-single-page-applications)**
>
> Learn about available scopes and endpoints for Management API tokens for Single-page Applications (SPAs).

---

<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:** [August 29, 2023, 1:05pm UTC](https://community.auth0.com/t/adding-create-user-tickets-scope-for-react-app/113144/4 "2023-08-29T13:05:24Z")

</div>

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