Skip to content

Commit

Permalink
Tweak readme to instruct full setup of socialite providers
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Apr 4, 2024
1 parent 05d9680 commit 08fb209
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,14 @@ use DirectoryTree\Bartender\Facades\Bartender;
Bartender::routes();
```

Set up your installed [Socialite Providers](https://socialiteproviders.com/) in your `services.php` configuration file:
Set up any [Socialite Providers](https://socialiteproviders.com) you need, and update your `services.php` configuration file with the `redirect` URL for each provider:

> [!important]
> Remember to register the redirect URLs in each of your OAuth provider's settings.
> Remember to fully complete the installation steps for each Socialite Provider you wish to use.
>
> If you receive a "Driver [X] not supported" exception, you have not completed the installation steps for the provider.
```bash

```php
// config/services.php
Expand All @@ -92,7 +96,7 @@ return [
];
```

Register the Socialite Provider in your `AuthServiceProvider` using `Bartender::serve()`:
Finally, register the Socialite Provider in your `AuthServiceProvider` using `Bartender::serve()`:
```php
// app/Providers/AuthServiceProvider.php
Expand Down

0 comments on commit 08fb209

Please sign in to comment.