Set up SSO with Okta
You can set up SSO login with Okta by following these steps:
- Log in to Okta as an administrator and click the Admin button to access the administration. Go to Applications from the menu bar and click Applications.
- Click Add Application.
- Click Create New App on the top right.
- Select Web as the Platform and SAML 2.0 as the sign on method. Click Create.
- Enter HackerEarth as the name of the new app.
Optional: Grab our logos and choose the one you would like to see in Okta for HackerEarth. Choose Browse and Upload Logo to upload your choice. Click Next.
- Obtain the required Federation Metadata XML from Okta
- Click Sign On tab.
- Scroll down to the Optional configuration data and copy the IDP metadata to the clipboard.
- Save this IDP (XML) metadata.
- Share the metadata with HackerEarth
- HackerEarth will configure your metadata at our end and share HackerEarth’s metadata
- Once you receive the metadata from HackerEarth, paste the HTTP-POST AssertionConsumerService URL into Single sign on URL and the entityID URI into Audience URI (SP Entity ID) respectively. Select Use this for Recipient URL and Destination URL.
- Select EmailAddress in Name ID format, and Email in Application username. Do not click Next yet!
- Scroll down to the ATTRIBUTE STATEMENTS (OPTIONAL) section on this same page. Add the following three attributes here as shown below, then click Next.
Name |
Name Format |
Value |
FirstName |
URI Reference |
user.firstName |
LastName |
URI Reference |
user.lastName |
EmailAddress |
URI Reference |
user.email |
- Click Save.
- Move to My end user dashboard and select HackerEarth app to test the SSO integration.
Comments
0 comments
Please sign in to leave a comment.