# Best practice to set up one m2m app and multiple APIs

**URL:** <https://community.auth0.com/t/best-practice-to-set-up-one-m2m-app-and-multiple-apis/73135>\
**Category:** Get Help\
**Created:** [November 15, 2021, 9:02am UTC](https://community.auth0.com/t/best-practice-to-set-up-one-m2m-app-and-multiple-apis/73135 "2021-11-15T09:02:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [November 16, 2021, 10:26pm UTC](https://community.auth0.com/t/best-practice-to-set-up-one-m2m-app-and-multiple-apis/73135/3 "2021-11-16T22:26:53Z")

</div>

Hi @domasr,

Welcome to the Auth0 Community!

> [@domasr](#):
>
> Asking this since creating separate m2m apps seems to be a more secure approach because there will be different client ids and secrets used for each API. Is my understanding correct?

Generally, you would have one application. The application requests tokens from the auth server and uses the tokens to request resources from the API. I don’t see the benefit of multiple M2M applications in this scenario, but I would be happy to explore further if you provide more detail.

---

_[View the full topic](https://community.auth0.com/t/best-practice-to-set-up-one-m2m-app-and-multiple-apis/73135)._
