Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
509d9f01
Commit
509d9f01
authored
Oct 06, 2017
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refine Google integration steps
parent
53e5b305
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
doc/integration/google.md
doc/integration/google.md
+9
-8
No files found.
doc/integration/google.md
View file @
509d9f01
...
@@ -8,7 +8,7 @@ with Google. Google will generate a client ID and secret key for you to use.
...
@@ -8,7 +8,7 @@ with Google. Google will generate a client ID and secret key for you to use.
In Google's side:
In Google's side:
1.
Navigate to the
[
cloud resource manager
](
https://console.cloud.google.com/cloud-resource-manager
)
page
1.
Navigate to the
[
cloud resource manager
](
https://console.cloud.google.com/cloud-resource-manager
)
page
1.
Select
"Create Project"
1.
Select
**Create Project**
1.
Provide the project information:
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.
-
**Project ID**
- Must be unique to all Google Developer registered applications.
...
@@ -17,24 +17,25 @@ In Google's side:
...
@@ -17,24 +17,25 @@ In Google's side:
1.
Refresh the page and you should see your new project in the list
1.
Refresh the page and you should see your new project in the list
1.
Go to the
[
Google API Console
](
https://console.developers.google.com/apis/dashboard
)
1.
Go to the
[
Google API Console
](
https://console.developers.google.com/apis/dashboard
)
1.
Select the previously created project form the upper left corner
1.
Select the previously created project form the upper left corner
1.
Click on the project and select "Google Cloud APIs" in the overview
1.
Select
**Credentials**
from the sidebar
1.
Select
"Credentials" in the left menu
1.
Select
**OAuth consent screen**
and fill the form with the required information
1.
Select "Create New Client ID"
1.
In the
**Credentials**
tab, select
**Create credentials > OAuth client ID**
1.
Fill in the required information
1.
Fill in the required information
-
**Application type**
- Choose "Web Application"
-
**Application type**
- Choose "Web Application"
-
**Name**
- Use the default one or provide your own
-
**Authorized JavaScript origins**
-This isn't really used by GitLab but go
-
**Authorized JavaScript origins**
-This isn't really used by GitLab but go
ahead and put
`https://gitlab.example.com`
ahead and put
`https://gitlab.example.com`
-
**Authorized redirect URIs**
- Enter your domain name followed by the
-
**Authorized redirect URIs**
- Enter your domain name followed by the
callback URIs:
callback URIs
one at a time
:
```
```
https://gitlab.example.com/users/auth/google_oauth2/callback
https://gitlab.example.com/users/auth/google_oauth2/callback
https://gitlab.example.com/google_api/auth/callback
https://gitlab.example.com/google_api/auth/callback
```
```
1.
Under the heading "Client ID for web application" you should see a Client ID
1.
You should now be able to see a Client ID and Client secret. Note them down
and Client secret. Note them down or keep this page open as you will need them
or keep this page open as you will need them later.
later.
1.
From the
**Dashboard**
select
**ENABLE APIS AND SERVICES > Google Cloud APIs > Container Engine API > Enable**
On your GitLab server:
On your GitLab server:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment