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
f5e06f96
Commit
f5e06f96
authored
Jan 23, 2022
by
Gerardo Gutierrez
Committed by
Evan Read
Jan 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create troubleshooting section to change auth app
parent
fa7b2d7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
doc/administration/auth/index.md
doc/administration/auth/index.md
+28
-0
No files found.
doc/administration/auth/index.md
View file @
f5e06f96
...
@@ -50,3 +50,31 @@ For more information, see the links shown on this page for each external provide
...
@@ -50,3 +50,31 @@ For more information, see the links shown on this page for each external provide
|
**Authentication**
| SAML at top-level group (1 provider) | LDAP (multiple providers)
<br>
Generic OAuth2
<br>
SAML (only 1 permitted per unique provider)
<br>
Kerberos
<br>
JWT
<br>
Smartcard
<br>
OmniAuth Providers (only 1 permitted per unique provider) |
|
**Authentication**
| SAML at top-level group (1 provider) | LDAP (multiple providers)
<br>
Generic OAuth2
<br>
SAML (only 1 permitted per unique provider)
<br>
Kerberos
<br>
JWT
<br>
Smartcard
<br>
OmniAuth Providers (only 1 permitted per unique provider) |
|
**Provider-to-GitLab Role Sync**
| SAML Group Sync | LDAP Group Sync |
|
**Provider-to-GitLab Role Sync**
| SAML Group Sync | LDAP Group Sync |
|
**User Removal**
| SCIM (remove user from top-level group) | LDAP (Blocking User from Instance) |
|
**User Removal**
| SCIM (remove user from top-level group) | LDAP (Blocking User from Instance) |
## Change apps or configuration
When GitLab doesn't support having multiple providers (such as OAuth), GitLab configuration and user identification must be
updated at the same time if the provider or app is changed.
These instructions apply to all methods of authentication where GitLab stores an
`extern_uid`
and it is the only data used
for user authentication.
When changing apps within a provider, if the user
`extern_uid`
does not change, only the GitLab configuration must be
updated.
To swap configurations:
1.
Change provider configuration in your
`gitlab.rb`
file.
1.
Update
`extern_uid`
for all users that have an identity in GitLab for the previous provider.
To find the
`extern_uid`
, look at an existing user's current
`extern_uid`
for an ID that matches the appropriate field in
your current provider for the same user.
There are two methods to update the
`extern_uid`
:
-
Using the
[
Users API
](
../../api/users.md#user-modification
)
. Pass the provider name and the new
`extern_uid`
.
-
Using the
[
Rails console
](
../operations/rails_console.md
)
:
```
ruby
Identity
.
where
(
extern_uid:
'old-id'
).
update!
(
extern_uid:
'new-id'
)
`
```
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