Seamless authentication between two apps

Hi,

I am using Auth0 for my applications. I have two applications which uses different Auth0 configurations.

One is built using angular and uses SPA configuration, The second one is built using Next.js 14 (App router) and uses Regular Web Application configuration. Both of these configuration belongs to same tenant and are hosted on same main domain.

I am looking to develop a user authentication flow where one user when logs in to angular application and gets redirected to next.js application, it should get automatically logged in.

I can’t find any relevant document for this.

Is this possible considering the two application are of different nature in terms of their configurations in auth0?

Thanks,
Kunal

Hi @kunalvirk!

Welcome to the Auth0 Community!

I recommend taking a look at these links regarding SSO between applications on the same tenant:

Please let me know if you have any additional questions after reviewing the above resources, and I’ll be happy to help :slight_smile:

Best,

Mary Beth

Thanks for a quick reply.

Is it possible to achieve this without the need of SSO? As in, I pass some accessToken in the URL while redirecting to Next.js application and then use Auth0 API to use that token to log the user in.

If not, then what sort of changes I need to make in my angular based SPA in order to support SSO as the SPA is in production and can not have any downtimes?

Thanks,
Kunal