Minor reformatting for Facebook integration doc
[ci skip]
This commit is contained in:
parent
98dcad2762
commit
05eb9e7884
|
@ -19,7 +19,7 @@ something else descriptive.
|
||||||
|
|
||||||
1. Enter the address of your GitLab installation at the bottom of the package
|
1. Enter the address of your GitLab installation at the bottom of the package
|
||||||
|
|
||||||
![Facebook Website URL](facebook_website_url.png)
|
![Facebook Website URL](facebook_website_url.png)
|
||||||
|
|
||||||
1. Choose "Next"
|
1. Choose "Next"
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ something else descriptive.
|
||||||
1. Choose "Settings" in the menu on the left
|
1. Choose "Settings" in the menu on the left
|
||||||
|
|
||||||
1. Fill in a contact email for your app
|
1. Fill in a contact email for your app
|
||||||
|
|
||||||
![Facebook App Settings](facebook_app_settings.png)
|
![Facebook App Settings](facebook_app_settings.png)
|
||||||
|
|
||||||
1. Choose "Save Changes"
|
1. Choose "Save Changes"
|
||||||
|
@ -51,15 +52,15 @@ something else descriptive.
|
||||||
For omnibus package:
|
For omnibus package:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo editor /etc/gitlab/gitlab.rb
|
sudo editor /etc/gitlab/gitlab.rb
|
||||||
```
|
```
|
||||||
|
|
||||||
For installations from source:
|
For installations from source:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd /home/git/gitlab
|
cd /home/git/gitlab
|
||||||
|
|
||||||
sudo -u git -H editor config/gitlab.yml
|
sudo -u git -H editor config/gitlab.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
1. See [Initial OmniAuth Configuration](omniauth.md#initial-omniauth-configuration) for initial settings.
|
1. See [Initial OmniAuth Configuration](omniauth.md#initial-omniauth-configuration) for initial settings.
|
||||||
|
@ -69,20 +70,20 @@ something else descriptive.
|
||||||
For omnibus package:
|
For omnibus package:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
gitlab_rails['omniauth_providers'] = [
|
gitlab_rails['omniauth_providers'] = [
|
||||||
{
|
{
|
||||||
"name" => "facebook",
|
"name" => "facebook",
|
||||||
"app_id" => "YOUR_APP_ID",
|
"app_id" => "YOUR_APP_ID",
|
||||||
"app_secret" => "YOUR_APP_SECRET"
|
"app_secret" => "YOUR_APP_SECRET"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
For installations from source:
|
For installations from source:
|
||||||
|
|
||||||
```
|
```
|
||||||
- { name: 'facebook', app_id: 'YOUR_APP_ID',
|
- { name: 'facebook', app_id: 'YOUR_APP_ID',
|
||||||
app_secret: 'YOUR_APP_SECRET' }
|
app_secret: 'YOUR_APP_SECRET' }
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Change 'YOUR_APP_ID' to the API key from Facebook page in step 10.
|
1. Change 'YOUR_APP_ID' to the API key from Facebook page in step 10.
|
||||||
|
|
Loading…
Reference in New Issue