summaryrefslogtreecommitdiff
path: root/doc/integration/google.md
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-08-19 01:37:33 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2014-08-19 14:37:51 +0200
commit3f161a3a3d1c2411cd80260a6eaf13eb608e0ce3 (patch)
treec3bc821895ae24bc91f5fcdf91c4fc125cb67b28 /doc/integration/google.md
parent0b3ebb6440420de714fe5066aba19ca77e8b1b8f (diff)
downloadgitlab-ce-3f161a3a3d1c2411cd80260a6eaf13eb608e0ce3.tar.gz
Update omniauth-google-oauth2 gem
Udate doc
Diffstat (limited to 'doc/integration/google.md')
-rw-r--r--doc/integration/google.md14
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/integration/google.md b/doc/integration/google.md
index 3cf546bd77e..7a78aff8ea4 100644
--- a/doc/integration/google.md
+++ b/doc/integration/google.md
@@ -2,17 +2,21 @@
To enable the Google OAuth2 OmniAuth provider you must register your application with Google. Google will generate a client ID and secret key for you to use.
-1. Sign in to the [Google Developers Console](https://console.developers.google.com/) with the Google account you want to use to register GitLab.
+1. Sign in to the [Google Developers Console](https://console.developers.google.com/) with the Google account you want to use to register GitLab.
1. Select "Create Project".
1. Provide the project information
- - Project name: 'GitLab' works just fine here.
+ - Project name: 'GitLab' works just fine here.
- Project ID: Must be unique to all Google Developer registered applications. Google provides a randomly generated Project ID by default. You can use the randomly generated ID or choose a new one.
1. Refresh the page. You should now see your new project in the list. Click on the project.
1. Select "APIs & auth" in the left menu.
+1. Select "APIs" in the submenu.
+ - Enable `Contacts API`
+ - Enable `Google+ API`
+
1. Select "Credentials" in the submenu.
1. Select "Create New Client ID".
@@ -41,7 +45,7 @@ To enable the Google OAuth2 OmniAuth provider you must register your application
args: { access_type: 'offline', approval_prompt: '' } }
```
-1. Change 'YOUR APP ID' to the client ID from the GitHub application page from step 7.
+1. Change 'YOUR APP ID' to the client ID from the GitHub application page from step 7.
1. Change 'YOUR APP SECRET' to the client secret from the GitHub application page from step 7.
@@ -51,12 +55,12 @@ To enable the Google OAuth2 OmniAuth provider you must register your application
On the sign in page there should now be a Google icon below the regular sign in form. Click the icon to begin the authentication process. Google will ask the user to sign in and authorize the GitLab application. If everything goes well the user will be returned to GitLab and will be signed in.
-## Further Configuration
+## Further Configuration
This further configuration is not required for Google authentication to function but it is strongly recommended. Taking these steps will increase usability for users by providing a little more recognition and branding.
At this point, when users first try to authenticate to your GitLab installation with Google they will see a generic application name on the prompt screen. The prompt informs the user that "Project Default Service Account" would like to access their account. "Project Default Service Account" isn't very recognizable and may confuse or cause users to be concerned. This is easily changeable.
1. Select 'Consent screen' in the left menu. (See steps 1, 4 and 5 above for instructions on how to get here if you closed your window).
-1. Scroll down until you find "Product Name". Change the product name to something more descriptive.
+1. Scroll down until you find "Product Name". Change the product name to something more descriptive.
1. Add any additional information as you wish - homepage, logo, privacy policy, etc. None of this is required, but it may help your users.