GitHub
To use GitHub authentication you have to create the GitHub 0Auth application first. Go to https://github.com/settings/developers and click “New 0Auth App” Fill in your application information and click “Register Application” For “Authorization callback URL” use{your_website_url}/auth/callback/github
e.g. https://larafast.com/auth/callback/github
Generate a new Client Secret and add Client ID and Client Secret to your .env file
.env
https://console.cloud.google.com/apis/credentials Copy your Client ID and Client Secret to your .env file
.env
For other social auth integrations check https://socialiteproviders.com/
Social Buttons can be found in `resources/js/Components/Social/SocialButtons.vue
Turning off Social Auth
If you decide that you don’t want to allow your users to use social authentication then Larafast offers you the option to be able to disable all social logins through the configuration. In your.env
file find the AUTH_USE_SOCIAL_AUTH
option and set it to default.
.env