Laravel 5 geting InvalidStateException in AbstractProvider.php

前端 未结 12 1890
心在旅途
心在旅途 2020-12-03 22:30

I am trying to use login with facebook in laravel 5 using Socialize.

Here is my route file code.

Route::get(\'fb\', function ($face         


        
12条回答
  •  独厮守ぢ
    2020-12-03 23:00

    you get this error because you have your social provider settings wrong in your config file or haven't set up your Facebook app properly.

    Visit developers.facebook.com and make sure your app id and secret keys are correct and pointing to the correct URL. Then make sure your laravel app's services.php config file is updated with the correct redirect, id and secret.

提交回复
热议问题