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
c2320a1a
Commit
c2320a1a
authored
Sep 23, 2021
by
Asmaa Hassan
Committed by
Evan Read
Sep 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the instructions to set a username
parent
f3b48738
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
doc/integration/saml.md
doc/integration/saml.md
+5
-4
No files found.
doc/integration/saml.md
View file @
c2320a1a
...
@@ -476,11 +476,10 @@ args: {
...
@@ -476,11 +476,10 @@ args: {
#### Set a username
#### Set a username
By default, the email in the SAML response is used to automatically generate the
By default, the email in the SAML response is used to automatically generate the
user's GitLab username. If you'd like to set another attribute as the username,
user's GitLab username.
assign it to the
`nickname`
OmniAuth
`info`
hash attribute.
For example, if you want to set the
`username`
attribute in your SAML Response to the username
If you'd like to set another attribute as the username, assign it to the
`nickname`
OmniAuth
`info`
in GitLab, use the following setting
:
hash attribute, and add the following setting to your configuration file
:
```
yaml
```
yaml
args
:
{
args
:
{
...
@@ -493,6 +492,8 @@ args: {
...
@@ -493,6 +492,8 @@ args: {
}
}
```
```
This also sets the
`username`
attribute in your SAML Response to the username in GitLab.
### `allowed_clock_drift`
### `allowed_clock_drift`
The clock of the Identity Provider may drift slightly ahead of your system clocks.
The clock of the Identity Provider may drift slightly ahead of your system clocks.
...
...
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