Using Bubble app alongside laravel app and sharing auth

Hi,

I have an app built in bubble, and users can currently login to that, it resides on app.mydomain.com
I now want to build a second app in Laravel+Javascript which will run on app2.mydomain.com but if users visit that one, I would like to know if they are logged in, and be able to perform API calls knowing their bubble_id etc.

Similarly they should be able to login/logout on either of the 2 sub domains.

What’s the best way to achieve this?

Thanks