Open ahmadina opened 9 years ago
Im having the same problem....
I have add 'ignore_errors' => true to return http array of generateStreamContext method in /var/www/LaravelOauth/vendor/lusitanian/oauth/src/OAuth/Common/Http/Client/StreamClient.php
Now its working perfectly but i dont know it is correct way or not
same error
This package is unfortunately very poor support? Nobody is answering :(
The same problem - very bad
Same error....
Make sure your client_id and client_secret are set in /app/config/packages/artdarek/oauth-4-laravel/config.php - that fixed this for me. They have to be named client_id and client_secret.
See also this comment on Stack Overflow for debug tips for this issue: http://stackoverflow.com/questions/28006102/laravel-tumblr-oauth-failed-to-request-resource/28035736#comment44403888_28006102
In Google console "APIs & auth" turn on Google+ API. Now it works fine (tested on localhost).
It could be a PHP thing since by default it uses files_get_contents()
Try using curl instead like in #21
Hi , Hi I am using the following code with the error :
OAuth \ Common \ Http \ Exception \ TokenResponseException Failed to request resource.
I looked but could not find an answer to this problem :((((
How to fix it? please help