Overview

SSO (Single Sign-on) on HackerRank for Work can be configured using efficient and productive Identity providers such as Azure AD.

You can log in to HackerRank through Azure AD. Create, update, and deactivate user accounts through SCIM 2.0.

Prerequisites

Note: 

  • The Sign-on URL must remain blank during configuration.
    Entering a value in this field may cause authentication errors

  • HackerRank accepts only the user's email address. HackerRank SSO fails if it receives anything other than an email address.

Configuring the SSO on Azure

  1. Navigate to the customer's Azure Portal: https://portal.azure.com

  2. Goto Enterprise Applications -> New Application.

    Azure_AD_SSO_Configuration_image_1.jpg
  3. Click Create your own application. Add a name to the app.

    Azure_AD_SSO_Configuration_image_2.jpg
  4. Select Integrate any other application you don't find in the gallery (Non-gallery).

    Azure_AD_SSO_Configuration_image_3.jpg
  5. Click Set up single sign-on (Located on the left pane) -> SAML.

    Azure_AD_SSO_Configuration_image_4.jpgAzure_AD_SSO_Configuration_image_5.jpg
  6. Using the URLs from step 1 (Seen above), you can either create and upload a metadata file and then upload or manually enter the URLs from step 1 of the instructions as seen in step 7.

    Azure_AD_SSO_Configuration_image_6.jpg
  7. If metadata has been uploaded, ensure the Identity ID, Reply URL, and Logout URL are correct.

  8. If you are entering the URLs manually, click Edit on Basic SAML Configuration and enter the URLs from step 1 manually.

    Azure_AD_SSO_Configuration_image_7.jpg
  9. Click to save.

  10. Verify the attributes as the sample below. 
    Download the Federation Metadata XML.

    Azure_AD_SSO_Configuration_image_8.jpg
  11. Upload the metadata file to HackerRank.

Adding Users to the Group

Testing the SSO Integration

The SSO integration can be tested in two ways:

Note: For the second way of testing on the Azure Portal, ensure that you do not close the SSO page while testing. In case the setup is not successful, you can disable SSO on the same page.

Azure_AD_SSO_Configuration_image_9.jpg

References