Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dilshan97/laravel-social-lite-demo
This Repository discribe how to use Social authentication with Laravel's Official SocialLite Package. You can use your social logins as well.
https://github.com/dilshan97/laravel-social-lite-demo
demo laravel-framework social-authentication social-logins sociallite-login-curd
Last synced: about 6 hours ago
JSON representation
This Repository discribe how to use Social authentication with Laravel's Official SocialLite Package. You can use your social logins as well.
- Host: GitHub
- URL: https://github.com/dilshan97/laravel-social-lite-demo
- Owner: Dilshan97
- Created: 2019-03-22T13:20:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-28T12:11:49.000Z (over 1 year ago)
- Last Synced: 2023-03-06T12:17:54.048Z (over 1 year ago)
- Topics: demo, laravel-framework, social-authentication, social-logins, sociallite-login-curd
- Language: PHP
- Homepage:
- Size: 4.95 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# laravel-social-lite-demo
This Repository discribe how to use Social authentication with Laravel's Official SocialLite Package. You can use your social logins as well.
## Getting Started
Official Package -> `https://github.com/laravel/socialite`
### Installation:1. Clone the repository and import it to your favorite IDE.
2. Run the fallowing Command.
`composer install`
3. Make a copy of `.env.example` and Rename it to `.env`
4. Run the fallowing Command
`php artisan key:generate`
5. Set Database credentials.
6. Add your Social Account's `CLIENT_SECRETS`
**Facebook**
- Go to the 'https://developers.facebook.com'- Then, click `Create App`
- Fill the `Display Name` & `Contact Email` then Click `Create App ID` button.
- You can display a App Dashboard. click `Settings > Basic.`
- Copy `App ID` & `App Secret`
- Paste into the `.env`
- then fill the app domain as 'localhost'
- Save changes**GitHub**
- Go to the https://github.com
- Then go to the Settings > Developer settings.
- Click OAuth Apps.
- then click New OAuth App
- Fill the details necessary
- Register Application
7. Run fallowing Command.
`php artisan migrate`
8. Run your project using fallowing command.
`php artisan serve --port=8081`
Demo
![enter image description here](https://lh3.googleusercontent.com/M44oCFFnU0P2NsV_G6jQyG0YRF3CjITFpaZQKxTZ57Pv7C35ZTcalUTLmKHS-495mf86hKGM6BT_)