'Social Plugin Laravel

I am facing problem logging into facebook using social plugin from laravel platform suddenly. The users were able to use the plugin earlier but the facebook support/test team was having problems and now our application's facebook login is disabled by facebook.

The library in composer

"laravel/socialite": "^5.2"

and the config

'facebook' => [
        'client_id' => env('SOCIAL_LOGIN_FACEBOOK_CLIENT_ID'),
        'client_secret' => env('SOCIAL_LOGIN_FACEBOOK_CLIENT_SECRET'),
        'redirect' => env('APP_URL') . '/auth/social/authenticate/facebook',
    ],

After going through several SO links, I have updated the configurations on the app to add redirect urls (I have replaced the actual domain with test.org for this post)

enter image description here enter image description here enter image description here

After all this when I am trying to login to the facebook with a test user from the test website I get the error

App not setup
Switch to a registered test user

enter image description here and when I am inside that test user's facebook, I see the error

Can't load URL
The domain of the URL isn't included in the app's domains

enter image description here Am I missing out on declaring app domain somewhere?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source