How to skip CSRF verification in pyrocsm?
Created 2 weeks ago by dilusha100

I need to skip csrf verification for one of my endpoint. So I add that route to $except array in Anomaly\Streams\Platform\Http\Middleware\VerifyCsrfToken like this, protected $except = [ "/payments/notify" ];

But still it not skip the csrf verification. So, please help me with this.

ryanthompson  —  1 week ago

Check this doc out:

The top outlines how to override streams configuration. You can also use route action parameters:

I'll add some more terminology in that last doc and connect the two cause they both come in searching the forum - but not as obvious as they SHOULD be. Let me know if you have any other questions!