Skip to content
Advertisement

Tag: laravel-vapor

Laravel vapor “This action is unauthorized” with file upload

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

Advertisement