Laravel 9/10 Sanctum session sharing with a token based app and a website
I am using Laravel Sanctum to auth for my API that powers a mobile app and a progressive web app. It essentially uses tokens. I have also built a forum in Laravel that uses blade (for SEO reasons) and relies on Laravel's built in auth. Both the progressive web app and the forum live on the same server. Before the progressive web app I had a blade based app. Forum relied on the auth used for the main blade based app. Is there a way to do the session sharing between the forum (built with blade) and the progressive web app (built with angular)? For example, if the user is logged into the progressive web app can they use the same session on the forum without logging in again?
Please or to participate in this conversation.