# Best practices for machine to machine

**URL:** <https://community.auth0.com/t/best-practices-for-machine-to-machine/39016>\
**Category:** Get Help\
**Tags:** client-credentials-g\
**Created:** [March 8, 2020, 3:34pm UTC](https://community.auth0.com/t/best-practices-for-machine-to-machine/39016 "2020-03-08T15:34:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GenadyMgr](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/genadymgr/32/18959_2.png) [@GenadyMgr](https://community.auth0.com/u/GenadyMgr)\
**Post date:** [March 8, 2020, 3:34pm UTC](https://community.auth0.com/t/best-practices-for-machine-to-machine/39016/1 "2020-03-08T15:34:38Z")

</div>

Hi all!

My application has a service. This service has multiple external clients (that are not necessarily users of the application). I want to use machine to machine auth flow for that service. Is there a way to set each user of the service it’s own unique client credentials? from what I see it’s only one pair per application.

Thanks,  
Genady

---

<div class="post-metadata">

**Author:** ![mathiasconradt](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mathiasconradt/32/12758_2.png) [@mathiasconradt](https://community.auth0.com/u/mathiasconradt)\
**Post date:** [March 8, 2020, 4:37pm UTC](https://community.auth0.com/t/best-practices-for-machine-to-machine/39016/2 "2020-03-08T16:37:39Z")

</div>

In M2M, there’s usually no user involved. But I get what you’re aiming for. In this case, you’d register a separate client application per user.  
How many users are we talking about here?

---

<div class="post-metadata">

**Author:** ![GenadyMgr](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/genadymgr/32/18959_2.png) [@GenadyMgr](https://community.auth0.com/u/GenadyMgr)\
**Post date:** [March 9, 2020, 8:19am UTC](https://community.auth0.com/t/best-practices-for-machine-to-machine/39016/3 "2020-03-09T08:19:01Z")

</div>

There are about 200 users. Is it reasonable to create application for each user? which means about 200 applications

---

<div class="post-metadata">

**Author:** ![mathiasconradt](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mathiasconradt/32/12758_2.png) [@mathiasconradt](https://community.auth0.com/u/mathiasconradt)\
**Post date:** [March 9, 2020, 8:26am UTC](https://community.auth0.com/t/best-practices-for-machine-to-machine/39016/4 "2020-03-09T08:26:54Z")

</div>

Technically and from a scalability perspective not an issue.
