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

Twitter

Create a Twitter Developer account and add a new Project: https://developer.twitter.com/en/portal/dashboard

After the project is added, create a new app, and copy from OAuth 2.0 Client ID and Client Secret your Client ID and Secret and add to your .env file

.env
TWITTER_CLIENT_ID=
TWITTER_CLIENT_SECRET=

Twitter Docs: https://developer.twitter.com/en/docs/developer-portal/overview

Google

Go to Google Console and create an organization: https://console.cloud.google.com/

Once an organization is created go to Credentials and create a new 0Auth 2.0 Client
https://console.cloud.google.com/apis/credentials

Copy your Client ID and Client Secret to your .env file

.env
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=

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
AUTH_USE_SOCIAL_AUTH=false