vendredi 30 septembre 2016

Laravel controller return to route

I'm running a query within my controller which returns a callback url I would like to set this url to be my home controller so I can work with the data thats returned on the callback.

$loginUrl = $helper->getLoginUrl('http://myapp.app/home', $permissions);

I would like this url to be the controller of my route, currently this path returns the correct data in the url however I get the following error -

Cross-site request forgery validation failed. The "state" param from the URL and session do not match.

Is there a way to return the url back without getting a CSRF error.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2dcJWsh
via IFTTT

Aucun commentaire:

Enregistrer un commentaire