1👍
I was using a Laravel API before, but decided to switch back to Firebase, I think it’s a better choice for mobile.
But if you want to use Laravel, take a look at Laravel Passport (https://laravel.com/docs/6.x/passport).
You can use the Password Grant (https://laravel.com/docs/6.x/passport#password-grant-tokens) to generate a token from your mobile application, by creating a login endpoint that will generate the token for you.
- [Vuejs]-How to get entier header content. Differences between postman and axios
- [Vuejs]-Object value is changed but component is not updated
Source:stackexchange.com