diff options
author | Patricio Cano <suprnova32@gmail.com> | 2016-03-01 13:51:47 -0500 |
---|---|---|
committer | Patricio Cano <suprnova32@gmail.com> | 2016-03-01 13:51:47 -0500 |
commit | 3f70c8f2dbc52bd87e4bd0710dcfe334b080c37e (patch) | |
tree | 4823f578f9058b2ff18b8e3fa259296341b9545c /doc/integration/saml.md | |
parent | 265d45c4eb14589ff86c272f98fc1d8a6654f0bc (diff) | |
download | gitlab-ce-3f70c8f2dbc52bd87e4bd0710dcfe334b080c37e.tar.gz |
Style updates.saml-doc-update
Diffstat (limited to 'doc/integration/saml.md')
-rw-r--r-- | doc/integration/saml.md | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/integration/saml.md b/doc/integration/saml.md index 6b10fb96a22..c84113556cd 100644 --- a/doc/integration/saml.md +++ b/doc/integration/saml.md @@ -97,33 +97,33 @@ in your SAML IdP: } ``` -1. Change the value for 'assertion_consumer_service_url' to match the HTTPS endpoint - of GitLab (append 'users/auth/saml/callback' to the HTTPS URL of your GitLab +1. Change the value for `assertion_consumer_service_url` to match the HTTPS endpoint + of GitLab (append `users/auth/saml/callback` to the HTTPS URL of your GitLab installation to generate the correct value). -1. Change the values of 'idp_cert_fingerprint', 'idp_sso_target_url', - 'name_identifier_format' to match your IdP. Check +1. Change the values of `idp_cert_fingerprint`, `idp_sso_target_url`, + `name_identifier_format` to match your IdP. Check [the omniauth-saml documentation](https://github.com/omniauth/omniauth-saml) for details on these options. -1. Change the value of 'issuer' to a unique name, which will identify the application +1. Change the value of `issuer` to a unique name, which will identify the application to the IdP. 1. Restart GitLab for the changes to take effect. 1. Register the GitLab SP in your SAML 2.0 IdP, using the application name specified - in 'issuer'. + in `issuer`. To ease configuration, most IdP accept a metadata URL for the application to provide configuration information to the IdP. To build the metadata URL for GitLab, append -'users/auth/saml/metadata' to the HTTPS URL of your GitLab installation, for instance: +`users/auth/saml/metadata` to the HTTPS URL of your GitLab installation, for instance: ``` https://gitlab.example.com/users/auth/saml/metadata ``` At a minimum the IdP *must* provide a claim containing the user's email address, using -claim name 'email' or 'mail'. The email will be used to automatically generate the GitLab -username. GitLab will also use claims with name 'name', 'first_name', 'last_name' +claim name `email` or `mail`. The email will be used to automatically generate the GitLab +username. GitLab will also use claims with name `name`, `first_name`, `last_name` (see [the omniauth-saml gem](https://github.com/omniauth/omniauth-saml/blob/master/lib/omniauth/strategies/saml.rb) for supported claims). @@ -137,7 +137,7 @@ If you see a "500 error" in GitLab when you are redirected back from the SAML si this likely indicates that GitLab could not get the email address for the SAML user. Make sure the IdP provides a claim containing the user's email address, using claim name -'email' or 'mail'. The email will be used to automatically generate the GitLab username. +`email` or `mail`. If after signing in into your SAML server you are redirected back to the sign in page and no error is displayed, check your `production.log` file. It will most likely contain the |