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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
79431714
Commit
79431714
authored
Aug 17, 2021
by
Anton Smith
Committed by
Evan Read
Aug 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify autolink users for SAML provider
parent
1dcd275f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
doc/integration/omniauth.md
doc/integration/omniauth.md
+10
-3
No files found.
doc/integration/omniauth.md
View file @
79431714
...
...
@@ -162,19 +162,26 @@ The chosen OmniAuth provider is now active and can be used to sign in to GitLab
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/36664) in GitLab 13.4.
You can automatically link OmniAuth users with existing GitLab users if their email addresses match.
For example, the following setting is used to enable the auto link feature for both a SAML provider and the Twitter OAuth provider:
Automatic linking using this method works for all providers
[
except the SAML provider
](
https://gitlab.com/gitlab-org/gitlab/-/issues/338293
)
. For automatic
linking using the SAML provider, see
[
SAML-specific
](
saml.md#general-setup
)
instructions.
As an example, the following configuration is used to enable the auto link feature for both:
-
OpenID Connect provider.
-
Twitter OAuth provider.
**For Omnibus installations**
```
ruby
gitlab_rails
[
'omniauth_auto_link_user'
]
=
[
"
saml
"
,
"twitter"
]
gitlab_rails
[
'omniauth_auto_link_user'
]
=
[
"
openid_connect
"
,
"twitter"
]
```
**For installations from source**
```
yaml
omniauth
:
auto_link_user
:
[
"
saml
"
,
"
twitter"
]
auto_link_user
:
[
"
openid_connect
"
,
"
twitter"
]
```
## Configure OmniAuth Providers as External
...
...
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