Laravel Sanctum for SPA and Mobile authentication

Viewed 112

I have an existing Laravel project which is using Laravel Sanctum to authenticate client request for a React project.

The approach used is SPA (client and server share same top-level domain, no token needed).

I need to create a mobile application and i was reading Mobile Application Authentication documentation from Laravel.

What would be the best approach to have my API working for both client and mobile app requests?

0 Answers
Related