Problem when trying to connect to facebook from a laravel application

I created a facebook app and made all the necessary settings. .I integrated Facebook PHP SDK with Laravel 5.4 so i can later use graph api to retrieve informations. In the login page i have an fb-button so the user can connect through his fb account.When i try to connect with facebook i get this message “can’t load url the domain of this url isn’t included in the app’s domains”