artdarek / oauth-4-laravel

OAuth Service Provider for Laravel 4
683 stars 216 forks source link

Not working after Update to Laravel 4.1 #50

Open dsilvernail opened 10 years ago

dsilvernail commented 10 years ago

I updated my Laravel framework to 4.1. I utilize the facebook and google api through the artdarek oauth package. However, after the Laravel update, whenever I try to make the api call to either of these services I just get a blank page. Everything was working fine with Laravel 4.0. Any help would be much appreciated.

maknz commented 10 years ago

Blank page suggests an 500 internal error. You'll need to post your PHP error logs.

artdarek commented 10 years ago

Did you fixed redirections in your code?

Instead of this

return Response::make()->header( 'Location', (string)$url );

try to use this:

// return to facebook login url
return Redirect::to( (string)$url );