We take a look at using Laravel Airlock to authenticate our Single Page Application in Vue. Airlock provides a lightweight authentication system relying on Laravel’s built-in cookie-based session authentication services. We use a Vue CLI application to scaffold out the front-end and a Laravel 7 application for the backend. We also make use of Tailwind UI components, look at navigation guards in Vue and do some basic validation.

GitHub Repo for Laravel: https://github.com/drehimself/airlock-example
GitHub Repo for Vue: https://github.com/drehimself/vue-airlock-example

#laravel #php #webdev #security

Laravel Airlock to authenticate our Single Page Application in Vue.JS
27.60 GEEK