| ... | @@ -4,11 +4,11 @@ |
... | @@ -4,11 +4,11 @@ |
|
|
To enable Google OAuth2 for your GitLab follow the official guide here.
|
|
To enable Google OAuth2 for your GitLab follow the official guide here.
|
|
|
|
|
|
|
|
Notes in Google's side:
|
|
Notes in Google's side:
|
|
|
* **Step 10 Fill in required information**: you need a domain name, it doesn't accept IP address
|
|
* **Step 10** Fill in required information: you need a domain name, it doesn't accept IP address
|
|
|
|
|
|
|
|
Notes in GitLab server:
|
|
Notes in GitLab server:
|
|
|
* Step #3 Add the provider configuration, For Omnibus GitLab: you need to uncomment and change values to:
|
|
* **Step 3** Add the provider configuration, For Omnibus GitLab: you need to uncomment and change values to:
|
|
|
gitlab_rails['omniauth_enabled'] = true
|
|
`gitlab_rails['omniauth_enabled'] = true`
|
|
|
gitlab_rails['omniauth_external_providers'] = ['google_oauth2']
|
|
`gitlab_rails['omniauth_external_providers'] = ['google_oauth2']`
|
|
|
|
|
|
|
|
(this is mentioned under step #2 link but) |
|
(this is mentioned under step #2 link but) |
|
|
|
\ No newline at end of file |