Broadcasting with Laravel, Passport, Pusher & Vue.js

When using Laravel + Passport to create a headless application, in this case the API for the backoffice of an commerce platform, we couldn’t find one clear tutorial how to set up both the API (with for example the Broadcast authorization route) and on the other hand the Pusher integration in Vue, with the token that was originally created by Passport during authentication. We wrote this step by step tutorial after implementing the solution.
via Laravel News Links
Broadcasting with Laravel, Passport, Pusher & Vue.js