# Machine to Machine communication with Auth0

**URL:** https://discuss.pomerium.com/t/machine-to-machine-communication-with-auth0/316
**Category:** Support
**Created:** [October 4, 2023, 8:36am UTC](https://discuss.pomerium.com/t/machine-to-machine-communication-with-auth0/316 "2023-10-04T08:36:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Dennis](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dennis](https://discuss.pomerium.com/u/Dennis)
#### Post date: [October 4, 2023, 8:36am UTC](https://discuss.pomerium.com/t/machine-to-machine-communication-with-auth0/316/1 "2023-10-04T08:36:24Z")

</div>

## What happened?

I have a use case in which I have a backend application that hits another backend application whose url is fronted by pomerium. I am using Auth0 as IdP here, how do we configure the auth both in auth0 and pomerium for this use case?

I am assuming we should use machine-to-machine communication application in auth0 as the app identity (clientid, client secret). But as far as I know ,pomerium will automatically redirect us to the login page of the IdP in which it cannot be done on backend apps.

---

<div class="post-metadata">

### Author: ![denis](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@denis](https://discuss.pomerium.com/u/denis)
#### Post date: [October 4, 2023, 3:05pm UTC](https://discuss.pomerium.com/t/machine-to-machine-communication-with-auth0/316/2 "2023-10-04T15:05:39Z")

</div>

see [Service Accounts | Pomerium](https://www.pomerium.com/docs/capabilities/service-accounts)

---

<div class="post-metadata">

### Author: ![Dennis](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dennis](https://discuss.pomerium.com/u/Dennis)
#### Post date: [October 4, 2023, 3:46pm UTC](https://discuss.pomerium.com/t/machine-to-machine-communication-with-auth0/316/3 "2023-10-04T15:46:36Z")

</div>

Yes i have read it, and there is also another page about [Service Account](https://www.pomerium.com/docs/concepts/service-accounts) but i’m not sure is it available on Core (open-sourced) version / is it exclusively available for Enterprise Version?

Because it is stated that

> A service account identity can either be based on a user entry in your IdP Directory, or exist as a custom identity managed in a Pomerium Console [Namespace](https://www.pomerium.com/docs/capabilities/namespacing).

I assume that the latter part is the enterprise capabilities.  
I want to achieve the former using Auth0 as IdP (not sure what the Directory part means) rather than using custom identity managed in pomerium console.

I think there is no guide for this?
