summaryrefslogtreecommitdiff
path: root/doc/integration/oauth2_generic.md
diff options
context:
space:
mode:
authorJoe Marty <jmarty@iexposure.com>2017-02-13 09:57:36 -0600
committerJoe Marty <jmarty@iexposure.com>2017-02-13 12:54:57 -0600
commitd1e951c343a4916f19e2c275bc9cded35e5a56d8 (patch)
tree0af863802a1524eafa5f0e8cf6d385be47ce50dd /doc/integration/oauth2_generic.md
parent6d756b2b6a8cf470b3ba646048d3969889e55c94 (diff)
downloadgitlab-ce-d1e951c343a4916f19e2c275bc9cded35e5a56d8.tar.gz
Adjust doc formatting
Diffstat (limited to 'doc/integration/oauth2_generic.md')
-rw-r--r--doc/integration/oauth2_generic.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/integration/oauth2_generic.md b/doc/integration/oauth2_generic.md
index 0661bc62d2d..e71706fef7d 100644
--- a/doc/integration/oauth2_generic.md
+++ b/doc/integration/oauth2_generic.md
@@ -21,6 +21,7 @@ This strategy is designed to allow configuration of the simple OmniAuth SSO proc
- It has not been tested with user information formats other than JSON
### Config Instructions
+
1. Register your application in the OAuth2 provider you wish to authenticate with.
The redirect URI you provide when registering the application should be:
@@ -38,15 +39,14 @@ This strategy is designed to allow configuration of the simple OmniAuth SSO proc
For Omnibus package:
```sh
- sudo editor /etc/gitlab/gitlab.rb
+ sudo editor /etc/gitlab/gitlab.rb
```
For installations from source:
```sh
- cd /home/git/gitlab
-
- sudo -u git -H editor config/gitlab.yml
+ cd /home/git/gitlab
+ sudo -u git -H editor config/gitlab.yml
```
1. See [Initial OmniAuth Configuration](omniauth.md#initial-omniauth-configuration) for initial settings