# M2M Application with different domains

**URL:** <https://community.auth0.com/t/m2m-application-with-different-domains/79525>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [March 8, 2022, 8:49pm UTC](https://community.auth0.com/t/m2m-application-with-different-domains/79525 "2022-03-08T20:49:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cpruden](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cpruden/32/30618_2.png) [@cpruden](https://community.auth0.com/u/cpruden)\
**Post date:** [March 8, 2022, 8:49pm UTC](https://community.auth0.com/t/m2m-application-with-different-domains/79525/1 "2022-03-08T20:49:41Z")

</div>

Hello,

Is it possible to use the same machine to machine application credentials to authenticate with Auth0 between two web applications hosted with different domains?

For example, if i had a web application running under “[abc.com](http://abc.com)” and another one under “[def.com](http://def.com)”, could I use the same credentials?

I get the feeling they might need to be different but I wanted to ask. Also, does the domain for the Auth0 tenant also affect this?

---

<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:** [March 10, 2022, 5:20pm UTC](https://community.auth0.com/t/m2m-application-with-different-domains/79525/3 "2022-03-10T17:20:05Z")

</div>

Hi @cpruden,

You should be able to, but why would you? Those sounds like two different apps, and using separate credentials provides a clear distinction about which app is making what requests, logging, etc.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 22, 2022, 11:33am UTC](https://community.auth0.com/t/m2m-application-with-different-domains/79525/4 "2022-12-22T11:33:01Z")

</div>


