Hey! I’m Swapnil Bhavsar. I work as Technical Lead at Square1. Furthermore, I am a full-stack developer with primarily focus on Laravel, Vue and React. I blog about web and mobile development topics.
Nothing here yet.
You should never save authorization tokens in local storage or cookies, as they can be accessed by any third-party JavaScript code running in the user's browser. By simply using a code like this localStorage.getItem('auth_token'), tokens can be stole...

I recently worked on a Laravel project which had the requirement of two authenticable models along with separate subscriptions. The project, of course, was using Laravel Cashier to manage user subscriptions. By default, Laravel Cashier assumes the Ap...
