Visit Facebook Developer

Use existing or create new app - Choose the suggested method

Untitled

On the next screen enter the app details.

Then in settings, configure the app details and save

Untitled

On the same page, there is option to add a platform. Add “web

Untitled

Enter the link to your site.

Next, go live

Untitled

After you have verified the business and your app is live, you can add “Facebook Login” as a product.

There is the setting of the Facebook Login → Valid Auth Redirect URIs enter

<https://yoursite.com/login/facebook/redirect>

In the site setting, enter the data from facebook

Untitled

Facebook Redirect