Robin Beatty
Robin Beatty
+1 for multidrag support. Thanks for great lib!
+1 for GraphQL support
Another +1 for GraphQL support, would be great to access campaign template fields from headless sites, and to be able to add/remove/edit contacts via GraphQL.
+1 for this. Any headway on the horizon?
+1 for support for choosing transformation pipeline per volume. In our case, Cloudinary is one filesystem and handles its own transforms via another plugin so when Sharp is enabled via...
Have also noticed that the token obtained by either of these methods is a bit shorter than a token that might get rendered in the CP. Example CP token: lCaJegjXepVVPawN6VAFCl9dxHx56cX37pG-kW3BeHlTEZR-Wo1QBW6ZUuUj21Vi99tZEiG5retiMzeB2SUl2GCRpVuQwjIT2p0rvO8sJ1J1CeHQ__9d0VKVEBMagoSaCSYcXSzDs8PZ7e0J8Q5tbjW1dblqsTDsD5dOcwwSYJmNHAv4SyX_ydOgP1YFFPrIptbQ-XDmEVq0IOwHW-Jk0BdJZhsPkRELh5GlhcSI-huoCTsrfMFJKL0AdRL9ZdARujYBwb9vcRfcnNIBAgO46hER61LzxDmipgEm76RPjNtNQWpMONS2nslvt2LxJiJ_4LysaxB_PBn3h_fogLtmmlwONEznE_cDiHegY9McJmFgDs3fd17OIFOWuJHYUgMyZsqY1qrh...
Hey, any insight on this? Forgive me if I've missed a crucial memo... in my headless app i need to get a valid csrf at auth time to be able...
Turns out you need to pass an Authorization header with the JWT, and this satisfies the validation (that would otherwise be validated against CSRF) e.g. for Craft::app->elements->saveElement()
This what what my controller looks like: ``` class ProjectsController extends Controller { protected array|bool|int $allowAnonymous = [ 'duplicate-itinerary' ]; public $enableCsrfValidation = false; // disable csrf check public function...
I have not be able to call any of crafts factory functions in this way... so yeah we have the same problem. TBH I've just been cutting and pasting snippets...