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
iv
gitlab-ce
Commits
cedfe9d2
Commit
cedfe9d2
authored
Apr 11, 2016
by
Patricio Cano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation of feature
parent
ea04b019
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
config/gitlab.yml.example
config/gitlab.yml.example
+7
-0
doc/integration/omniauth.md
doc/integration/omniauth.md
+23
-0
No files found.
config/gitlab.yml.example
View file @
cedfe9d2
...
@@ -304,6 +304,13 @@ production: &base
...
@@ -304,6 +304,13 @@ production: &base
# (default: false)
# (default: false)
auto_link_saml_user: false
auto_link_saml_user: false
# Set different Omniauth providers as external so that all users creating accounts
# via these providers will not be able to have access to internal projects. You
# will need to use the full name of the provider, like `google_oauth2` for Google.
# Refer to the examples below for the full names of the supported providers.
# (default: [])
external_providers: []
## Auth providers
## Auth providers
# Uncomment the following lines and fill in the data of the auth provider you want to use
# Uncomment the following lines and fill in the data of the auth provider you want to use
# If your favorite auth provider is not listed you can use others:
# If your favorite auth provider is not listed you can use others:
...
...
doc/integration/omniauth.md
View file @
cedfe9d2
...
@@ -120,6 +120,29 @@ OmniAuth provider for an existing user.
...
@@ -120,6 +120,29 @@ OmniAuth provider for an existing user.
The chosen OmniAuth provider is now active and can be used to sign in to GitLab from then on.
The chosen OmniAuth provider is now active and can be used to sign in to GitLab from then on.
## Configure OmniAuth Providers as External
>**Note:**
This setting was introduced with version 8.7 of GitLab
You can define which OmniAuth providers you want to be
`external`
so that all users
creating accounts via these providers will not be able to have access to internal
projects. You will need to use the full name of the provider, like
`google_oauth2`
for Google. Refer to the examples for the full names of the supported providers.
**For Omnibus installations**
```
ruby
gitlab_rails
[
'omniauth_external_providers'
]
=
[
'twitter'
,
'google_oauth2'
]
```
**For installations from source**
```
yaml
omniauth
:
external_providers
:
[
'
twitter'
,
'
google_oauth2'
]
```
## Using Custom Omniauth Providers
## Using Custom Omniauth Providers
>**Note:**
>**Note:**
...
...
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