I think redirect tells the browser to redirect aka make anew request. So when eturn $pdf->downloa...
You could use sha1 (or any other algo) in javascript for the client side. But if you are using https...
Using token based authentication should work https://gistlog.co/JacobBennett/090369fbab0b31130b51
The Laravel portal for problem solving, knowledge sharing and community building.
The community