Using Bubble app alongside laravel app and sharing auth


I have an app built in bubble, and users can currently login to that, it resides on
I now want to build a second app in Laravel+Javascript which will run on 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?