# Auth0 management-api for regular web application

**URL:** <https://community.auth0.com/t/auth0-management-api-for-regular-web-application/127461>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [February 15, 2024, 4:49pm UTC](https://community.auth0.com/t/auth0-management-api-for-regular-web-application/127461 "2024-02-15T16:49:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris.howell](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chris.howell/32/59858_2.png) [@chris.howell](https://community.auth0.com/u/chris.howell)\
**Post date:** [February 15, 2024, 4:49pm UTC](https://community.auth0.com/t/auth0-management-api-for-regular-web-application/127461/1 "2024-02-15T16:49:47Z")

</div>

We have a php application that we set up as regular web app in Auth0 that we authenticate our users who login to the application through Auth0. We wish to use auth0 management-api to add users when they signup at our site and we pass along the info to auth0 via management-api. Based on what I’ve read in the documentation, in order to use the management-api, we must also create a backend application for it. The question we have is, must we maintain another set of client data (id, secret) to retrieve access tokens to be able to add the user to the users table? Is it possible to use management-api with just one set of client data (from the regular web app application?) Please let me know if I need to clarify what I am asking.

---

<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:** [February 16, 2024, 11:07pm UTC](https://community.auth0.com/t/auth0-management-api-for-regular-web-application/127461/3 "2024-02-16T23:07:57Z")

</div>

Hey there @chris.howell welcome to the community!

> [@chris.howell](#):
>
> The question we have is, must we maintain another set of client data (id, secret) to retrieve access tokens to be able to add the user to the users table? Is it possible to use management-api with just one set of client data (from the regular web app application?) Please let me know if I need to clarify what I am asking.

In general, it’s definitely recommended that you use a unique client\_id/secret for your backend which will utilize the management API. While it _might_ be technically possible, it’s hard to know what complications may arise. Security-wise, if the credentials were somehow leaked from your web app both the web app and your management client would be compromised.

---

<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:** [March 1, 2024, 11:08pm UTC](https://community.auth0.com/t/auth0-management-api-for-regular-web-application/127461/4 "2024-03-01T23:08:39Z")

</div>

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