| 1 |
Cornerstone On Demand |
| 2 |
===================== |
| 3 |
|
| 4 |
|image0| |
| 5 |
|
| 6 |
Presentation |
| 7 |
------------ |
| 8 |
|
| 9 |
`CornerStone On Demand (CSOD) <http://www.cornerstoneondemand.com/>`__ |
| 10 |
allows one to use SAML to authenticate users. It works by default with |
| 11 |
IDP intiated mechanism, but can works with the standard SP initiated |
| 12 |
cinematic. |
| 13 |
|
| 14 |
To work with LL::NG it requires: |
| 15 |
|
| 16 |
- An enterprise account |
| 17 |
- LL::NG configured as :doc:`SAML Identity Provider<../idpsaml>` |
| 18 |
- Registered users on CSOD with the same email than those used by |
| 19 |
LL::NG (email will be the NameID exchanged between CSOD and LL::NG) |
| 20 |
|
| 21 |
Configuration |
| 22 |
------------- |
| 23 |
|
| 24 |
New Service Provider |
| 25 |
~~~~~~~~~~~~~~~~~~~~ |
| 26 |
|
| 27 |
You should have configured LL::NG as an |
| 28 |
:doc:`SAML Identity Provider<../idpsaml>`, |
| 29 |
|
| 30 |
Now we will add CSOD as a new SAML Service Provider: |
| 31 |
|
| 32 |
#. In Manager, click on SAML service providers and the button |
| 33 |
``New service provider``. |
| 34 |
#. Set csod as Service Provider name. |
| 35 |
#. Set ``Email`` in ``Options`` » ``Authentication Response`` » |
| 36 |
``Default NameID format`` |
| 37 |
#. Select ``Metadata``, and unprotect the field to paste the following |
| 38 |
value: |
| 39 |
|
| 40 |
.. code-block:: xml |
| 41 |
|
| 42 |
<md:EntityDescriptor entityID="mycompanyid.csod.com" xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"> |
| 43 |
<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"> |
| 44 |
<KeyDescriptor use="signing"> |
| 45 |
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> |
| 46 |
<ds:X509Data> |
| 47 |
<ds:X509Certificate> |
| 48 |
Base64 encoded CSOD certificate |
| 49 |
</ds:X509Certificate> |
| 50 |
</ds:X509Data> |
| 51 |
</ds:KeyInfo> |
| 52 |
</KeyDescriptor> |
| 53 |
<AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://mycompanyid.csod.com/samldefault.aspx" index="1" /> |
| 54 |
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat> |
| 55 |
</SPSSODescriptor> |
| 56 |
</md:EntityDescriptor> |
| 57 |
|
| 58 |
|
| 59 |
.. attention:: |
| 60 |
|
| 61 |
Change **mycompanyid** (in ``AssertionConsumerService`` |
| 62 |
markup, parameter ``Location``) into your CSOD company ID and put the |
| 63 |
certificate value inside the ds:X509Certificate markup |
| 64 |
|
| 65 |
CSOD control panel |
| 66 |
~~~~~~~~~~~~~~~~~~ |
| 67 |
|
| 68 |
CSOD needs two things to configure LL::NG as an IDP: |
| 69 |
|
| 70 |
- Certificate |
| 71 |
- SAML assertion |
| 72 |
|
| 73 |
Certificate |
| 74 |
^^^^^^^^^^^ |
| 75 |
|
| 76 |
See :doc:`SAML security parameters<../samlservice>` to know how generate |
| 77 |
a certificate from you SAML private key. |
| 78 |
|
| 79 |
SAML assertion |
| 80 |
^^^^^^^^^^^^^^ |
| 81 |
|
| 82 |
You need to use the IDP initiated feature of LL::NG. Just call this URL: |
| 83 |
|
| 84 |
:: |
| 85 |
|
| 86 |
https://auth.example.com/saml/singleSignOn?IDPInitiated=1&sp=mycompanyid.csod.com |
| 87 |
|
| 88 |
.. |image0| image:: /applications/csod_logo.png |
| 89 |
:class: align-center |
| 90 |
|