Thx for your reply.
App 1 is the customer facing app. They log in with email and password.
App 2 is the internal backoffice system where admins will log in via google oauth.
So both apps have different user groups.
For testing it is a bit annoying if you can only be logged into one app at the same time. I think this has to do with the iframe method. You can click around but as soon as you reload the app you’re logged out if you just logged in to the other.
For now we came up with the solution to use local storage as the cache location for one of those apps.