I have set up Laravel Vapor with my RESTFull app using Sanctum and now I’m trying to simply upload a file. I’m making a request POST /vapor/signed-storage-url and I’m getting: I have created the UserPolicy as described in the docs: But I keep getting This action is unauthorized. Answer The key piece of information here is that I’m using Sanctum
Tag: laravel-vapor
MySQL (RDS) queries are running in my process list long after my scripts have finished
First up I know something is wrong fundamentally with the way I am running my queries. I would like to ignore the root cause of this and in this question just ask the following: I have a PHP script …