How to Login Socialite

Social login plugin is integrated by default by the S-Cart e-commerce source code.
To enable this function, you need to do the following:

Step 1: Install

In Admin, navigate to "Extensions => "Plugin" => "Other Plugin"
Then proceed to install the plugin
Đăng nhập mạng xã hội

Step 2: Configuration

After a successful installation, configure the values in the .env file
Note to correctly enter the call back link of the app:

GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_REDIRECT=https://your-domain.com/plugin/login_socialite/github/callback

FACEBOOK_APP_ID=
FACEBOOK_APP_SECRET=
FACEBOOK_APP_CALLBACK_URL=https://your-domain.com/plugin/login_socialite/facebook/callback

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=r36TLOvNfaYxLZdWC9hzLidN
GOOGLE_REDIRECT=http://your-domain.com/plugin/login_socialite/google/callback

Cấu hình đăng nhập mạng xã hội

Successful results:

Cấu hình đăng nhập mạng xã hội

Video:

Related topics

Latest Document