Facebook authentication

How to enable Google login

Visit Facebook for developers.

Create new project.

Click Create App and fill the information for your project.

From the left menu click Settings and select Basic.

Enter the information for your project.

Next after you finish with this scroll to the bottom, click Add platform and select Website.

Now enter your website URL.

Next from the left menu in Product section find Facebook Login and under select Settings.

Find Valid QAuaht Redirect URIs and enter your redirect URL.

Note: The redirect must be defined like in the picture below.

The last step you need to do is to switch the mode of your app from development to live.

Copy App ID and App Secret and add this values in the .env file.

FACEBOOK_CLIENT_ID="" //Used for facebook login
FACEBOOK_CLIENT_SECRET="" //Used for facebook login
FACEBOOK_REDIRECT="" //Used for facebook login

Last updated