laravel - Phpunit acceptance test not finding redirect url -
i trying write functional acceptance test facebook login integration in laravel using socalite.
this works manually.
if try following code
public function test_facebook_login() { $this->visit('/')->click('login facebook'); }
then error(ihave removed api key , secret)
1) authenticationtest::test_facebook_login request [https://www.facebook.com/v2.6/dialog/oauth?client_id=[clientid]&redirect_uri=https%3a%2f%2fcore-domain%2ffacebook%2fcallback&scope=email&response_type=code&state=code] failed. received status code [404].
if copy url , go manually in browser works , can log in fb
Comments
Post a Comment