Skip to content

Instantly share code, notes, and snippets.

@Ademking
Last active December 25, 2021 05:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ademking/971962254f6d33a1fdbc5acf5aa09e0f to your computer and use it in GitHub Desktop.
Save Ademking/971962254f6d33a1fdbc5acf5aa09e0f to your computer and use it in GitHub Desktop.
❤️ Laravel : laravel Socialite : https problem - working with localhost
  1. Open developers.facebook.com :

• in facebook login -> Settings : Valid OAuth Redirect URIs : https://localhost/ProjectFolder/public/login/facebook/callback

• in settings -> Basic : App domain : App Domains

• in settings -> Basic -> Website ( bottom of the page ) Site URL : https://localhost/ProjectFolder/public/


  1. in your laravel project

• config/services.php

'facebook' => [
        'client_id' => "XXXXXXXXXXXXXXXX",         // Your facebook Client ID
        'client_secret' => "XXXXXXXXXXXXXXXXXXXX", // Your facebook Client Secret
        'redirect' => 'https://localhost/ProjectFolder/public/login/facebook/callback', // callback url
    ],
@SaidahmadHosilov
Copy link

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment