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](https://static.s-cart.org/guide/use/install-Login-Socialite.jpg)
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:![Cấu hình đăng nhập mạng xã hội](https://static.s-cart.org/guide/use/configLogin-Socialite.jpg)
Successful results:
![Cấu hình đăng nhập mạng xã hội](https://static.s-cart.org/guide/plugin/login-socical.jpg)
Video:
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](https://static.s-cart.org/guide/use/install-Login-Socialite.jpg)
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](https://static.s-cart.org/guide/use/configLogin-Socialite.jpg)
Successful results:
![Cấu hình đăng nhập mạng xã hội](https://static.s-cart.org/guide/plugin/login-socical.jpg)
Video:
Related topics
Latest Document
- Upgrade guide 2024-03-24
- Customize search page 2023-08-02
- Discount code (coupon) 2023-05-14
- Upgrade guide 2023-11-23
- Data relations in S-Cart 2023-02-05