hungnt/login-social-network

There is no license information available for the latest version (dev-master) of this package.

Login Social Network

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/hungnt/login-social-network

dev-master 2022-02-14 04:54 UTC

This package is auto-updated.

Last update: 2025-12-14 13:36:04 UTC


README

Require

  • Laravel 8.x
  • Laravel Socialite: ^5.2

Before install this package, please make sure your application FACEBOOK_CLIENT_ID, GOOGLE_CLIENT_ID exist in .env if you want to login with Google, Facebook and after that insert in services.php

'facebook' => [
    'client_id' => env('FACEBOOK_CLIENT_ID', ''),
    'client_secret' => env('FACEBOOK_CLIENT_SECRET', ''),
    'redirect' => env('FACEBOOK_CALLBACK_URL', ''),
    'scopes' => ['email', 'public_profile'],
],

'google' => [
    'client_id' => env('GOOGLE_CLIENT_ID', ''),
    'client_secret' => env('GOOGLE_CLIENT_SECRET', ''),
    'redirect' => env('GOOGLE_CALLBACK_URL', ''),
    'scopes' => ['profile email'],
]

or any services if you want to use example github, gitlab, etc...