I\'m using VueJS in my front-end, so I have this API call somewhere in the front-end code:
let products = axios.get(\'api/products\');
Are you sending auth token because when we write the API we need to deal with auth token and not with Auth::check(). You need to send auth token with user id at the time of api call and verify that details to proceed.