Signed Route throws Invalid Signature

Posted 1 week ago by lmartins

Hi, I'm having issues with a signed route that I have on my application.

This route is intended to generate a PDF files, and for that I use Browershot which then loads the signed route. This is placed on a action inside the model, which we ran by the user on the browser operates normally.

However, when I try to call this method via Tinker I always get Invalid Signature. I've went step by step in xdebug and the route that is generated on the fly does have the URL param with the signature, so I'm unsure as to what may be causing the signature error.

The middleware is using Laravel's own implementation: 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,

Any tips on what I should be looking into? Thanks so much!

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.