Using Okta SSO with Corporategift.com

Start using Okta as a identity provider for Corporategift.com

Creating an application in Okta

To start using Okta as identity provider for Corporategift.com, you need to create an application in Okta admin dashboard. This process is well described in the official documentation - https://developer.okta.com/docs/guides/build-sso-integration/saml2/main/#oidc-customer-org-credentials . Please follow the steps included in documentation but also take a look at our detailed configuration requirements.

 

  1. Sign in to your developer-edition Okta org as a user with administrative privileges.
  2. Go to Applications > Applications in the Admin Console.
  3. Click Create App Integration.
  4. Select SAML 2.0 in the Sign-in method section.
  5. Click Next.
  6. On the General Settings tab, enter corporategift.com and optionally upload our logo (download first here: https://cf.corporategift.com/media/personalize/julK6SiHxWOVa4zo1q1ySAYBhF5Y9qUKpgvtOsMB.png ) . You can also choose to hide the integration from your end user's Okta dashboard or mobile app. Click Next.
  7. On the Configure SAML tab:
    1. The Single sign on URL field,  should match the pattern: https://api.corporategift.com/api/sso/{companyname}/acs.
      For example, if we our a company is named on corporategift*  “PizzaTime”, the URL should be https://api.corporategift.com/api/sso/pizzatime/acs .

      * if you are not sure whats the exact name of the company on corporategift ask your customer success manager or sales rep. Please note that the above URLs are case-sensitive.
  8. Audience URI (SP Entity ID) should follow a similar pattern as above, but URL is a little different - https://api.corporategift.com/api/sso/{companyslug}/metadata. In this case Audience URI for “PizzaTime” company should be https://api.corporategift.com/api/sso/pizzatime/metadata .
  9. Default RelayState - keep blank
  10. Name ID format and Application username fields should be set as below.

    lh5.googleusercontent.comM6s0YxHUZRBEIfNRaZ0JoKGo_TwUMvBQ2VwNZyZ8f9xBJ7KtuPLHk_hmnnYpsVPA2Hu6PPDCa7ftCeft3HA2V_GimuXxgusCbOrXc04AXmU2GENlmKtWoQlWjv5

  11. Attribute Statements section (described as optional) is required from our perspective and should be configured as below.

    lh5.googleusercontent.comv6kB0G1Dwj8A9p4Jq8rgMkik_gAykKi6Q-A2eRczvPKjl_nKSYUrX0aoS4b1hREPi_Tu9t_ildkyZ-ktWJIzXNqQIvV36D3t9TjbxEwgXDNcCPToS_yCe51FoWA

  12. Group Attribute Statements (optional) - keep empty

After finishing the application creation process, please make sure to assign users so they can start using prepared integration. Assigning user process is also well described in the documentation - https://developer.okta.com/docs/guides/build-sso-integration/saml2/main/#assign-users

Provide us with the necessary data

To make it work, we need some data from your newly created application. Below we describe what data we need and where you can find it.

Select Applications from the left menu in the Okta admin dashboard and click on the name of the application that you recently created. Next, go to the Sign On tab and click the button View SAML setup instructions.

lh4.googleusercontent.comQ3ZN2-WE2FuM4Mh_gwirPnGrYhWcsE-1JdEoTeU-8pktSfmxq-UX_zY1DEeklhXmTmestjph2Gavd7y9UfbeYo23uzHiIS4WDVH1C6lP2SzzLOCuStk3xwdDV4g

You will see a page with few important information and those which we need are Identity Provider Issuer and X.509 Certificate. Please provide us this data, so we can enable using Okta SSO to authenticate into Corporategift.com for your company.

lh6.googleusercontent.comHu0gcYYzqKZPDxE6Ts-iQrDMuuM9Jh09S7adXI2BH1_uutv_xWO-PxAZ2EdgNSTXQqOXremHW7GPpucb5bXRBNQzrL59z1X56bn6L1-fcmzZf_gtGLc1G8rT3L8

Testing the integration

When you receive feedback from us that everything is ready on our side, then it’s time to test integration. Login to Okta as a simple user (not admin) and you should see the application you recently created - it should be visible in the My Apps section.

lh5.googleusercontent.comG1WcGoyCMFyJuPqVmp3E5asVp18h_S0WbdbMrXCRw5ndhrApCWmqllzwv7XVegDja5Xrq7D8dlEd7DmY4eN1_9HGV9VIjOW2JQMITKM0eQCwSk-swo9R0qf8I8I

When you click on it, you should be redirected to Corporategift.com and logged in.

Additional information

If you’re looking for some help regarding managing users and your account in Okta, we recommend checking official documentation.

User management: https://help.okta.com/en-us/Content/Topics/users-groups-profiles/usgp-main.htm

Other topics: https://help.okta.com/