Configure Single Sign-On using Okta
Okta provides a secure identity management service that lets you connect any person with any application on any device using Single Sign-On (SSO).
Perform the following steps to configure SSO.
Enable an Identity Provider in vManage
To configure Okta SSO, you must use vManage to enable an identity provider and generate a SAML metadata file:
-
In vManage, click
. -
Click Enabled.
-
Click Click here to download the SAML metadata and save the content in a file. This data will be used for configuring Okta.
-
In the metadata, note the following information that you will use to configure Okta with vManage:
-
Entity ID
-
Signing certificate
-
Encryption certificate
-
Logout URL
-
Login URL
-
Configure SSO on the Okta Website
To configure SSO on the Okta website:
-
Log on to the Okta website.
-
Create a username using your email address.
-
To add vManage as one SSO application, click on the Admin button on the upper right corner to go to the next page. Then check the upper left corner to make sure it shows the Classic UI view on Okta. If it shows the Developer Console, click on the down triangle to select the Classic UI.
-
Click on Add Application under Shortcuts to the right to go to the next page, and then click on Create New Application on the pop-up window. Select Web for the platform, and select SAML 2.0 as the Sign on Method. Click Create.
-
Give a string as Application name.
-
Optional: Upload a logo, and then click Next.
-
On SAML Settings for Single sign on URL section, set the value to the samlLoginResponse URL from the downloaded metadata from the vManage UI. Check the box Use this for Recipient URL and Destination URL.
-
Copy the entityID string and paste it in the Audience URI (SP Entity ID) field. The value can be an IP address or the name of the vManage site.
-
For Default RelayState, leave empty.
-
For Name ID format, select EmailAddress.
-
For Application username, select Okta username.
-
For Show Advanced Settings, enter the fields as indicated below.
Table 1. Component
Value
Configuration
Response
Signed
Assertion Signature
Signed
Signature Algorithm
RSA-SHA256
Digest Algorithm
SHA256
Assertion Encryption
Encrypted
Encryption Algorithm
AES256-CBC
Key Transport Algorithm
RSA-OAEP
Encryption Certificate
-
Copy the encryption certificate from the metadata you downloaded.
-
Go to www.samltool.com and click on X.509 CERTS, paste there. Click Format X.509 Certificate.
-
Make sure to remove the last empty line and then save the output (X.509.cert with header) into a text file encryption.cer.
-
Upload the file. Mozilla Firefox may not allow you to do the upload. Instead, you can use Google Chrome. You should see the certificate information after uploading to Okta.
Enable Single Logout
Make sure this is checked.
Single Logout URL
Get from the metadata.
SP Issuer
Use the entityID from the metadata.
Signature Certificate
-
Obtain from the metadata. Format the signature certificate using www.samltool.com as done above.
-
Save to a file, for example, signing.cer and upload.
Authentication context class
X.509 Certificate
Honor Force Authentication
Yes
SAML issuer ID string
SAML issuer ID string
Attribute Statements (optional)
Field: Name
Value: Username
Field: Name format (optional)
Value: Unspecified
Field: Value
Value: user.login
Group Attribute Statements (optional)
Field: Name
Value: Groups
Field: Name format (optional) Value: Unspecified
Field: Matches regex
Value: .*
Note
It is mandatory to use the two strings, Username and Groups, exactly as shown above. Otherwise, you may be logged in with the default group of Basic.
-
-
Click Next.
-
For Application Type, check This is an internal app that we have created (optional).
-
Click Finish. This brings you to the Okta application page.
-
Click on View Setup Instructions.
-
Copy the IDP metadata.
-
In the vManage UI, paste the IDP metadata in vManage using Identity Provider Settings > Upload Identity Provider Metadata, and click Save.
Assign Users to the Application
To assign users to the application on the Okta website:
-
On the Okta application page, navigate to
. -
Select Assign to people from the drop-down menu.
-
Click on Assign next to the user(s) you selected and click Done.
-
To add a user, click on
.