Soo you have the correct setup here, but you only need the bearer token right?
Well that token is something you need to handle somewhere else in your frontend code. Then you can make is available for all other parts. So I suppose you have a login feature build in javascript that uses the bearer token already. If that is the case you can store the token as well
windows.access_token = response.access_token;
And then you can reuse it in your app.js file
auth: {
headers: {
Authorization: `Bearer ${window.access_token}`
},
},
This is just a basic example of it. An alternative is for example storing the access token in vuex and retrieving it from there.