Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/integration/facebook.md')
-rw-r--r--doc/integration/facebook.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/integration/facebook.md b/doc/integration/facebook.md
index 1a3360aa470..b94fa24d290 100644
--- a/doc/integration/facebook.md
+++ b/doc/integration/facebook.md
@@ -81,9 +81,10 @@ Facebook. Facebook generates an app ID and secret key for you to use.
```ruby
gitlab_rails['omniauth_providers'] = [
{
- "name" => "facebook",
- "app_id" => "YOUR_APP_ID",
- "app_secret" => "YOUR_APP_SECRET"
+ name: "facebook",
+ # label: "Provider name", # optional label for login button, defaults to "Facebook"
+ app_id: "YOUR_APP_ID",
+ app_secret: "YOUR_APP_SECRET"
}
]
```
@@ -91,7 +92,9 @@ Facebook. Facebook generates an app ID and secret key for you to use.
For installations from source:
```yaml
- - { name: 'facebook', app_id: 'YOUR_APP_ID',
+ - { name: 'facebook',
+ # label: 'Provider name', # optional label for login button, defaults to "Facebook"
+ app_id: 'YOUR_APP_ID',
app_secret: 'YOUR_APP_SECRET' }
```