Overview
Single Sign-On (SSO) on HackerRank for Work can be configured using efficient and productive Identity providers such as OneLogin.
The OneLogin SSO portal ensures that only authorized users get access to sensitive data. Users have to enter only one set of credentials to access apps in the cloud and behind the firewall – through desktops, smartphones, and tablets. With SAML, OneLogin SSO proves helpful in securely logging users into HackerRank for Work either through the OneLogin portal or over your corporate intranet.
This article is a quick guide about configuring SSO on HackerRank with OneLogin. To know about SSO and its benefits, refer to the article Getting started with SSO.
Note: HackerRank accepts only the user's email address. In the setup, the user defines the SAML assertion with the necessary data. HackerRank SSO fails if it receives anything other than an email address.
Prerequisites
- HackerRank for Work account with Company Admin access.
- Administrator access in OnLogin
Adding HackerRank to OneLogin
- Log in to OneLogin with your credentials and proceed to the administrator dashboard. On the account set-up dashboard, click Add Apps.A new pane is displayed.
- In the search bar, search for HackerRank for Work and click Add. HackerRank for Work is OneLogin verified and is now added to your list of applications.
- Make sure to choose the application with SAML 2.0.
- Configure the HackerRank application with an appropriate display name, icons, and portal visibility.
- Click Save to confirm that HackerRank has been added as an application.
Configuring SSO on HackerRank
In this step, you must enter a unique HackerRank SSO Key.
- Access the Settings page of your HackerRank for Work account.
- Under the Settings option, click Single Sign-On to copy the SSO Unique ID. It is available in the Configure SSO section.
Adding the SSO ID on OneLogin and Enabling SSO
- Copy the SSO Unique ID to the Application Details tab on the OneLogin Configuration page.
- Click Save.
- Click on the More Action drop-down and select SAML Metadata. This permits you to acquire the XML Metadata file that needs to be uploaded onto HackerRank’s SSO Settings Portal.
- Once the XML metadata file is uploaded, the Single Sign-On metadata URL is automatically generated.
- Copy the URL generated by uploading the metadata XML file to an incognito browser window for testing. You should be able to see the OneLogin sign-in page.
- Sign in and confirm that you are taken back to HackerRank.
- Once SSO is enabled, all users within your organization will be redirected to the OneLogin sign-in page, when logging into their HackerRank for Work account.
- You can disable the SSO setup for your company by clicking Disable SSO.
Note: After enabling SSO, the user need not enter the account password while logging in. Entering the correct username or email will automatically redirect to an SSO login.