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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
95e73f87
Commit
95e73f87
authored
Mar 11, 2016
by
Patricio Cano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc syntax fixes
[ci skip]
parent
e4237f1f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
doc/integration/saml.md
doc/integration/saml.md
+8
-8
No files found.
doc/integration/saml.md
View file @
95e73f87
...
...
@@ -133,15 +133,15 @@ will be returned to GitLab and will be signed in.
## Customization
###
attribute_statements:
###
`attribute_statements`
>**Note:**
This setting is only available on GitLab 8.6 and above.
This setting should only be used to map attributes that are part of the
OmniAuth info hash schema.
Used to map Attribute Names in a SAMLResponse to entries in the OmniAuth
[
info hash
](
https://github.com/intridea/omniauth/wiki/Auth-Hash-Schema#schema-10-and-later
)
.
`attribute_statements`
is used to map Attribute Names in a SAMLResponse to entries
in the OmniAuth
[
info hash
](
https://github.com/intridea/omniauth/wiki/Auth-Hash-Schema#schema-10-and-later
)
.
For example, if your SAMLResponse contains an Attribute called 'EmailAddress',
specify
`{ email: ['EmailAddress'] }`
to map the Attribute to the
...
...
@@ -149,7 +149,7 @@ corresponding key in the info hash. URI-named Attributes are also supported, e.
`{ email: ['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress'] }`
.
This setting allows you tell GitLab where to look for certain attributes required
to create an account. Like mentioned above, if your IdP send the user's email
to create an account. Like mentioned above, if your IdP send
s
the user's email
address as
`EmailAddress`
instead of
`email`
, let GitLab know by setting it on
your configuration:
...
...
@@ -164,12 +164,12 @@ args: {
}
```
###
allowed_clock_drift:
###
`allowed_clock_drift`
The clock of the Identity Provider may drift slightly ahead of your system clocks.
To allow for a small amount of clock drift you can use
this argument within your
settings. Its value must be given in a number (and/or fraction) of seconds. The
value given is added to the current time at which the response is validated.
To allow for a small amount of clock drift you can use
`allowed_clock_drift`
within
your settings. Its value must be given in a number (and/or fraction) of seconds.
The
value given is added to the current time at which the response is validated.
```
yaml
args
:
{
...
...
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