# Integrate app1 vs auth0, app2 vs auth0

**URL:** <https://community.auth0.com/t/integrate-app1-vs-auth0-app2-vs-auth0/108824>\
**Category:** Get Help\
**Tags:** login-prompt-new-experience, login-experience\
**Created:** [June 8, 2023, 4:33am UTC](https://community.auth0.com/t/integrate-app1-vs-auth0-app2-vs-auth0/108824 "2023-06-08T04:33:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![max.nxb](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@max.nxb](https://community.auth0.com/u/max.nxb)\
**Post date:** [June 8, 2023, 4:33am UTC](https://community.auth0.com/t/integrate-app1-vs-auth0-app2-vs-auth0/108824/1 "2023-06-08T04:33:18Z")

</div>

Someone help me. Can I make the system like below? I want to build a system that includes app1, app2 and auth0 integration like this:

1. user login app1, if successful, app1 sends token1 to client and app1 also notify to auth0 that token1 is valid.
2. User clicks a button on app1 to redirect to app2 (also pass token1 to app2 via header)
3. at app2, after receiving token1, will send to auth0, auth0 will verify token1 and return success to app2.

---

<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:** [June 21, 2023, 2:13pm UTC](https://community.auth0.com/t/integrate-app1-vs-auth0-app2-vs-auth0/108824/3 "2023-06-21T14:13:06Z")

</div>

Hi @max.nxb,

Welcome to the Auth0 Community!

> [@max.nxb](#):
>
> user login app1, if successful, app1 sends token1 to client and app1 also notify to auth0 that token1 is valid.

There is no need to let Auth0 know that the token is valid in this scenario.

> [@max.nxb](#):
>
> User clicks a button on app1 to redirect to app2 (also pass token1 to app2 via header)

If app2 is another user-facing app (not an API) you should not pass the token between the apps. Tokens are generally intended for specific applications via the `aud` and `azp`claims and should not be consumed outside of their respective applications.

Instead, you can use [Single Sign-On](https://auth0.com/docs/authenticate/single-sign-on) to seamlessly authenticate the user in another application and let it retrieve it’s own tokens.

Let me know if you have any questions.

---

<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:** [July 5, 2023, 2:14pm UTC](https://community.auth0.com/t/integrate-app1-vs-auth0-app2-vs-auth0/108824/4 "2023-07-05T14:14:05Z")

</div>

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