@@ -157,10 +167,13 @@ or by using the template option
...
@@ -157,10 +167,13 @@ or by using the template option
## Samples
## Samples
Several of these samples show how to configure the generic endpoint to authenticate against Facebook, Amazon and Google, etc.
Several of these samples show how to configure the generic endpoint to authenticate against Facebook, Amazon and Google, etc.
In a lot of cases there are provider specific implementations of the base OAuth2 client and using one of those may
In a lot of cases you can use a template from `ConfigTemplate` to make the configuration cleaner or you can use a provider specific implementations of the base OAuth2 client.
simplify the configuration
### Generic Facebook
### Generic Facebook
You can use the Facebook template `'template' => 'Facebook',` and then provide just the `clientId` and `clientSecret` to