4 ms·
Use Laravel Passport for OAuth. Use the Vue Cli to create your SPA. Then just write a class in the Vue app to store the bearer token and send it through on each
by greenhatman 8y ago
Use Laravel Passport for OAuth. Use the Vue Cli to create your SPA. Then just write a class in the Vue app to store the bearer token and send it through on each request.
I'm on mobile so going into detail is difficult. If it would be useful I'll write a guide for you.