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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-10-14 03:11:11 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-10-14 03:11:11 +0300
commiteb9f5ce5d9ec0c5dd4954ffe448214ae8eb144ac (patch)
tree32a97b1bb6c3b3f317683e649d2e4d9991464bde /doc/integration
parentd6f2690ceeffc5306381618473cc4e3e613ebecf (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/integration')
-rw-r--r--doc/integration/facebook.md16
1 files changed, 12 insertions, 4 deletions
diff --git a/doc/integration/facebook.md b/doc/integration/facebook.md
index 2366005ca55..0fc66f2abd4 100644
--- a/doc/integration/facebook.md
+++ b/doc/integration/facebook.md
@@ -62,13 +62,15 @@ To enable the Facebook OmniAuth provider, you must:
1. On your GitLab server, open the configuration file:
- - For Linux package installations:
+ ::Tabs
+
+ :::TabTitle Linux package installations
```shell
sudo editor /etc/gitlab/gitlab.rb
```
- - For self-compiled installations:
+ :::TabTitle Self-compiled installations
```shell
cd /home/git/gitlab
@@ -76,13 +78,17 @@ To enable the Facebook OmniAuth provider, you must:
sudo -u git -H editor config/gitlab.yml
```
+ ::EndTabs
+
1. Configure the [common settings](omniauth.md#configure-common-settings)
to add `facebook` as a single sign-on provider. This enables Just-In-Time
account provisioning for users who do not have an existing GitLab account.
1. Add the provider configuration:
- - For Linux package installations:
+ ::Tabs
+
+ :::TabTitle Linux package installations
```ruby
gitlab_rails['omniauth_providers'] = [
@@ -95,7 +101,7 @@ To enable the Facebook OmniAuth provider, you must:
]
```
- - For self-compiled installations:
+ :::TabTitle Self-compiled installations
```yaml
- { name: 'facebook',
@@ -104,6 +110,8 @@ To enable the Facebook OmniAuth provider, you must:
app_secret: 'YOUR_APP_SECRET' }
```
+ ::EndTabs
+
1. In the provide configuration, paste the following values:
1. `YOUR_APP_ID`: The **App ID** you copied in the previous step.