diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-19 12:13:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-19 12:13:48 +0300 |
commit | 94ecc00f47df7051eea905a5899053bf476e0589 (patch) | |
tree | c029c736afbfaa0acc7f2c00945548bbcc3515a5 /doc/integration/facebook.md | |
parent | 1bc62c0edcc5ffddc2c48dd6746b81c19f1c0ffa (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/integration/facebook.md')
-rw-r--r-- | doc/integration/facebook.md | 11 |
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' } ``` |