# Automatically login when visiting application from already logged in app

**URL:** <https://community.auth0.com/t/automatically-login-when-visiting-application-from-already-logged-in-app/187658>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [June 5, 2025, 4:29pm UTC](https://community.auth0.com/t/automatically-login-when-visiting-application-from-already-logged-in-app/187658 "2025-06-05T16:29:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mliang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mliang/32/71597_2.png) [@mliang](https://community.auth0.com/u/mliang)\
**Post date:** [June 5, 2025, 4:29pm UTC](https://community.auth0.com/t/automatically-login-when-visiting-application-from-already-logged-in-app/187658/1 "2025-06-05T16:29:56Z")

</div>

I have 2 applications and I want to automatically login to the other site if im already logged in. I have a parent app with a link to a wordpress app both using auth0 (wp is using the auth0 plugin). I’ve tried setting cookie domain and keep getting a state error. Ive also updated all the allowed origins and callback urls on both applications. The strange thing is that it was working for a minute and now it does not and I cant figure out why. When i run the app locally, it logs me in automatically.

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [June 9, 2025, 1:49pm UTC](https://community.auth0.com/t/automatically-login-when-visiting-application-from-already-logged-in-app/187658/3 "2025-06-09T13:49:18Z")

</div>

Hi @mliang,

Could you tell us what connections both apps are using? Do they both have the same WordPress social connection? And what do you mean by parent app?

Have a good one,  
Vlad
