Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion content/docs/config/social-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ After installing the socialite providers you want to use, you can then move on t

To setup a specific social auth provider, you will need to retrieve two keys for each. The `CLIENT_ID` and the `CLIENT_SECRET`. These credentials can be retrieved from each social network and each network has a different process for retrieving these keys. We will not go into detail on how to retrieve these keys; however, you can do a search for `Setting up oAuth with network` and you should find steps that will help you retrieve each of these.

For some social providers, you also need to add a callback URL. The callback URL should correspond to the following route:

```GET auth/{driver}/callback```

This URL is used by the social network to redirect users back to your application after they have authenticated.

## Add keys to your .env

When you have your `CLIENT_ID` and `CLIENT_SECRET` for each social provider, you will need to open your `.env` file and add those credentials, like so:
Expand Down Expand Up @@ -76,4 +82,4 @@ Remember that everything needs to be setup correctly. In the social network setu

## Show Social Providers on Login:

Inside of your authentication setup page, you will see an option titled: **Login Show Social Providers**. If this is toggled off, the social provider buttons will not be visible by default. If a user then enters their email and it's associated with a social network, that network button will show up in place of the Email/Identifer input.
Inside of your authentication setup page, you will see an option titled: **Login Show Social Providers**. If this is toggled off, the social provider buttons will not be visible by default. If a user then enters their email and it's associated with a social network, that network button will show up in place of the Email/Identifer input.