bigweld86
3 months ago
106
0
Vue

Authentication with VueX and Laravel Passport

Posted 3 months ago by bigweld86

I'm currently using Vue (and VueX) and Laravel Passport. I have my register page working fine, now I've moved into my Login page. All the tutorials and posts I've seen online show a login system where the generated token is stored in localStorage but I've seen also that everybody says we shouldn't store any sensitive data in localStorage, then how should I do it? How can I manage sessions if my frontend (VueX) is separated from my backend (laravel)?

Please sign in or create an account to participate in this conversation.