Skip to content
  • There are no suggestions because the search field is empty.

Set up SSO with OneLogin for HackerEarth

Set up SSO with OneLogin

Set up SSO with Onelogin

  1. Log in to Onelogin as an administrator. Select Applications from the menu bar and click Applications. Click Add App button in the top right corner.

 

OneLogin Applications menu with Applications highlighted, above the Applications page with the Add App button highlighted.

 

  1. Search for a test connector on Find Applications page. From the filtered list, select SAML Test Connector (Advanced) for SAML 2.0.

OneLogin Find Applications search for "test connector" with SAML Test Connector (Advanced) for SAML 2.0 highlighted.

  1. Enter HackerEarth as the Display Name of the new app, and make sure to select Visible in portal. If you would like to upload a HackerEarth logo, click on the Rectangular icon and Square icon and select the images you want to use. You can take these from our logos file. Click Save when you are done with your changes.

OneLogin application Info page for HackerEarth with a "HackerEarth was successfully updated" banner, the Visible in portal toggle on, and icon upload fields.

  1. Click Save to store the app settings.
  2. Click Parameters in the left navigation menu. Click the + button to add a new field.
  3. Type in EmailAddress as the name in the popup and check Include in SAML assertion. Click - No default - in the value column on the next screen and select Email as the value from the dropdown.
  4. Repeat this process for two more fields. Create a field FirstName with the value mapped to First Name, and LastName mapped to value the Last Name. You will have EmailAddress, LastName, and LastName when you're back on the Parameters screen.

OneLogin Parameters tab for SAML Test Connector (Advanced) listing the Email, FirstName, LastName and NameID value fields with their values.

  1. You have to grant your users permission to the application you just created, either by adding to individual Users or by adding to Roles or Groups within OneLogin according to how you prefer to manage your Users there.
  2. Select SAML Metadata from the More Actions drop-down menu to obtain a copy of the Federation Metadata, it will be saved as onelogin_metadata_#######.xml.

OneLogin SAML Test Connector page with the More Actions menu open and SAML Metadata highlighted.

  1. Share the metadata file with HackerEarth.
  2. HackerEarth will configure your details and share the metadata file
  3. Once you receive HackerEarth’s metadata file, click Configuration. Paste the entityID from HackerEarth metadata into the Audience field. Paste the AssertionConsumerService HTTP-POST URL to both the ACS (Consumer) URL and ACS (Consumer) URL Validator. Enter Event login page URL in Login URL field.

 

OneLogin Configuration tab with the Audience, Recipient, ACS (Consumer) URL Validator, ACS (Consumer) URL, Single Logout URL and Login URL fields.

  1. Click Save and Test the SSO integration.