artdarek / oauth-4-laravel

OAuth Service Provider for Laravel 4
685 stars 217 forks source link

Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version #163

Open anujaykumar opened 8 years ago

anujaykumar commented 8 years ago

i am trying to make authentication using my angularjs package,now its sending data to my server side app where i am using oauth-4-laravel package,contineously i am receiving this error.

{"error":{"type":"OAuth\Common\Http\Exception\TokenResponseException","message":"Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php:\/\/input stream instead.","file" :"\/var\/www\/html\/oAuthTest\/lrvl\/vendor\/lusitanian\/oauth\/src\/OAuth\/Common\/Http\/Client\/StreamClient .php","line":73}}

Ho can i solve this issue

jeyasithar commented 8 years ago

I'm facing same problem. Anyone has solution for this?

jeyasithar commented 8 years ago

@artdarek Your comment will be appreciated. Thanks in advance!