Coupa (SP-initiated) Integration Guide
Introduction
Use this guide to enable Multi-Factor Authentication and Single Sign-on (SSO) access via SAML to Coupa.
Prerequisites
1. Have a Coupa account
2. Ensure that SAML SSO is enabled through an administrator account
Contact Coupa to enable SSO, and provide the Metadata File from the SecureAuth IdP Web Admin
3. Create a New Realm for the Coupa integration
4. Configure the following tabs in the Web Admin before configuring the Post Authentication tab:
Overview – the description of the realm and SMTP connections must be defined
Data – an enterprise directory must be integrated with SecureAuth IdP
Workflow – the way in which users will access this application must be defined
Multi-Factor Methods – the Multi-Factor Authentication methods that will be used to access this page (if any) must be defined
SecureAuth IdP Configuration Steps
Data
1. In the Profile Fields section, map the directory field that contains the user's Coupa ID to the SecureAuth IdP Property
For example, add the Coupa ID Field to the Email 2 Property if it is not already contained somewhere else
Warning
Click Save once the configurations have been completed and before leaving the Data page to avoid losing changes
Post Authentication
2. Select SAML 2.0 (SP Initiated) Assertion Page from the Authenticated User Redirect dropdown in the Post Authentication tab in the Web Admin
3. An unalterable URL will be auto-populated in the Redirect To field, which will append to the domain name and realm number in the address bar (Authorized/SAML20SPInit.aspx)
4. A customized post authentication page can be uploaded, but it is not required
User ID Mapping
5. Select the SecureAuth IdP Property that corresponds to the directory field that contains the Coupa ID (Email 2)
6. Select urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified from the Name ID Format dropdown (default)
Select a different option if Coupa requires it, which the Service Provider (SP) will provide
7. Select False from the Encode to Base64 dropdown
SAML Assertion / WS Federation
8. Set the SAML Consumer URL to https://[company].coupahost.com/sp/ACS.saml2 and replace company with the appropriate domain
9. Set the WSFed/SAML Issuer to a Unique Name that will be shared with Coupa
The WSFed/SAML Issuer must match exactly on the SecureAuth IdP side and the Coupa side
10. Set the SAML Recipient to https://[company].coupahost.com/sp/ACS.saml2 and replace company with the appropriate domain
11. Set the SAML Audience to prdsso40.coupahost.com for production environments
Set the SAML Audience to devsso35.coupahost.com for testing / staging environments
12. Provide the SP Start URL to enable SSO and to redirect users appropriately to access Coupa
For example, the SP Start URL would be https://[company ].coupa.com
13. Set the SAML Offset Minutes to make up for time differences between devices
14. Set the SAML Valid Hours to limit for how long the SAML assertion is valid – this can be no more than 2 hours
15. Select True from the Sign SAML Assertion dropdown
16. Select False from the Sign SAML Message dropdown
Note
No configuration is required for the WSFed Reply To/SAML Target URL, Append HTTPS to SAML Target URL, or Generate Unique Assertion ID fields
17. Leave the Signing Cert Serial Number as the default value, unless there is a third-party certificate being used for the SAML assertion
If using a third-party certificate, click Select Certificate and choose the appropriate certificate
18. Download the Assertion Signing Certificate, which will be used in the Coupa configuration steps
19. Provide the Domain in order to Download the Metadata File to send to Coupa
This will assist Coupa in enabling SSO
Warning
Click Save once the configurations have been completed and before leaving the Post Authentication page to avoid losing changes
Forms Auth / SSO Token
Optionally, in the Forms Auth / SSO Token section, click the View and Configure FormsAuth keys/SSO token link to configure the token/cookie settings and configure this realm for SSO.
Coupa Configuration Steps
1. Log into the Coupa admin console, and select Company Setup under Setup, and click Security Controls
2. Scroll down to the bottom, and check Log in using SAML
3. Set the Login page URL to the Fully Qualified Domain Name (FQDN) of the SecureAuth IdP appliance, followed by the SecureAuth IdP Coupa-integrated realm, e.g. https://secureauth.company.com/secureauth2/secureauth.aspx
4. Set the Logout page URL and the Timeout URL to any web page to which end-users will be redirected upon logging out or when their session times out
5. Click Add Certificate and select the Assertion Signing Certificate from the SecureAuth IdP Web Admin (step 18)
6. Click Save