# 2 applications using the same APIs

**URL:** <https://community.auth0.com/t/2-applications-using-the-same-apis/96065>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [December 8, 2022, 9:09pm UTC](https://community.auth0.com/t/2-applications-using-the-same-apis/96065 "2022-12-08T21:09:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy\_ravl](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/andy_ravl/32/33385_2.png) [@andy\_ravl](https://community.auth0.com/u/andy_ravl)\
**Post date:** [December 8, 2022, 9:09pm UTC](https://community.auth0.com/t/2-applications-using-the-same-apis/96065/1 "2022-12-08T21:09:35Z")

</div>

Hi there,

I have 3 main components to my platform: a web app, an iOS app and a suite of APIs. The APIs basically read and write to a database and they are called by the web app and the iOS app.

My problem is that a user triggering an API from the iOS app has a different Audience in the JWT than the user in the web app. This means that I can only configure the API server to accept the tokens from EITHER the web app OR the iOS app, not both.

Am I approaching this wrong?

---

<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:** [December 12, 2022, 11:20pm UTC](https://community.auth0.com/t/2-applications-using-the-same-apis/96065/3 "2022-12-12T23:20:13Z")

</div>

Hi there @andy_ravl!

> [@andy\_ravl](#):
>
> My problem is that a user triggering an API from the iOS app has a different Audience in the JWT than the user in the web app. This means that I can only configure the API server to accept the tokens from EITHER the web app OR the iOS app, not both.

While I’m not positive this will suite your particular use case, it may be worth looking into configuring a single logical API (resource server) for your APIs - This way tokens will have the same audience.

> **[Configure Logical API for Multiple APIs](https://auth0.com/docs/get-started/apis/set-logical-api)**
>
> Learn how to use a single logical API in Auth0 to represent and control access to multiple APIs.

---

<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:** [December 26, 2022, 11:21pm UTC](https://community.auth0.com/t/2-applications-using-the-same-apis/96065/4 "2022-12-26T23:21:08Z")

</div>

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