Open crackers8199 opened 9 years ago
I've got the same problem. Using the example but get the 'Failed to request resource.' error. Do you have a fix? Thanks
yep...but it's not really a fix as a work around i guess? i had to switch to CurlClient, in my controller...
class AuthController extends BaseController {
protected $oauth;
public function __construct( Oauth $oauth )
{
$this->oauth = $oauth;
$this->oauth->setHttpClient('CurlClient');
}
// then my other auth functions, loginWithTwitter, loginWithFacebook, etc
}
works great now, except for the latest version of dev-master being broken somehow...
i'm trying to do a login with twitter so that the user doesn't have to authorize the app every time, which means (to my understanding) use oauth/authorize rather than account/verify_credentials.json as the loginWithTwitter function does.
when i use the function as written in the examples, it works fine...but i don't want my users to have to authorize every time they log in...if i switch it to oauth/authorize, i get failed to request resource. what am i doing wrong?