Configure Okta SAML SSO in Insomnia
Obtain the single sign-on URL and audience URI from the Insomnia SSO settings and add them to an application integration in Okta. Copy the sign on URL and signing certificate from Okta and enter those in the Insomnia SSO settings. Finally, add users or groups to the Okta app integration and invite those same users to the Insomnia app.
Prerequisites
Insomnia permissions
You need:
- Admin permissions for your org in Insomnia
- An organization created after activating your Enterprise license in Insomnia. You can create an org from the Insomnia account settings.
Okta permissions
You need an admin account for Okta.
Domain permissions
You need a domain you own as well as permissions to make DNS records.
Create the SSO connection in Insomnia
Before you can configure the SSO connection in Okta, you must start configuring the SSO settings in Insomnia so you have access to the single-sign on URL and audience URI for the Okta settings.
- In your Insomnia account settings, click your account at the top right and select Enterprise Controls from the dropdown.
- Click SSO in the sidebar and then click Create Connection.
- In the SSO settings, enter your company’s domain.
Keep this window open while you configure the settings in Okta.
Configure SAML 2.0 SSO in Okta
Now that you have the single-sign on URL and audience URI from Insomnia, you can create a new app integration in Okta.
- Create a new app integration in Okta.
- For the Sign-in method, select SAML 2.0.
- Configure the general settings as needed.
-
Configure the following app SAML settings:
Okta setting Value Single sign-on URL Copy this from the SSO settings in Insomnia. Audience URI (SP Entity ID) Copy this from the SSO settings in Insomnia. Name ID format EmailAddress Application username Email Update application username on Create and update -
In the Attribute Statements, add the following attribute:
Name Name format Value email
Unspecified user.email - Save the new application.
- In the application Sign On page, find and copy the Sign on URL. This will be used for the sign on URL in Insomnia.
- Create a signing certificate for your app and copy the certificate. This will be used in the Insomnia SSO settings.
Enter the sign on URL and signing certificate in the SSO settings in Insomnia
Now that Okta SSO is configured and you have the sign on URL and certificate from Okta, you can finish configuring the SSO settings in Insomnia.
- In the Insomnia SSO settings, enter the sign on URL and signing certificate from Okta.
- To verify the connection, click Create connection. If the connection is successful, you will get a message that says “Your SAML connection has been successfully updated.”
Add users or groups to the application in Okta
You can add users or groups to the application in Okta. They won’t be allowed to log in with SSO yet though.
Invite users to Insomnia
Now that users or groups are assigned to the app in Okta, you can start inviting users to Insomnia. Once they accept the invite, they can log in to Insomnia with SSO.
- In your Insomnia account settings, click your account at the top right and select Your organizations.
- Click the organization you configured SSO for.
- Enter the emails of the users you added to the Okta app and click Invite.