Configuring OpenID SSO for Okta
These steps show you how to configure the single sign-on (SSO) functionality using OpenID between ManageEngine ADSelfService Plus and Okta.
Prerequisites
Note:
- Do not terminate the session before the configuration is complete in both the identity provider and the service provider.
- Please ensure that ADSelfService Plus is using HTTPS to ensure proper functioning of single sign-on.
- Login to ADSelfService Plus as an administrator.
- Go to Configuration > Password Sync/ Single Sign On, then click Add Application. Select Okta from the list.
Note: You can also use the search bar at the top-left of the page to search for the application.
- Click IdP Details, then select the SSO(OAuth/OpenID Connect) tab.
- Copy the Client ID, Client Secret, Issuer, Authorization Endpoint URL, Token Endpoint URL, and User Endpoint URL information.
Okta (service provider) configuration steps
- Log in to Okta with admin credentials.
- Navigate to Security > Identity Providers > Add Identity Provider > Add OpenID Connect IdP.
- Enter a Name of your preference.
- Fill the required fields with details during step 4 of Prerequisites:
- Client ID: Client ID
- Client Secret: Client Secret
- Using the Scopes drop-down, select email, openid, and profile.
- Issuer: Issuer
- Authorization endpoint: Authorization Endpoint URL
- Token endpoint: Token Endpoint URL
- JWKS endpoint: Keys Endpoint URL
- Userinfo endpoint (optional): User Endpoint URL
- Click Add Identity Provider at the bottom to save the settings.
- After saving, copy the Redirect URI as it will be required in later steps.
- To add the instance of ADSelfService Plus to Okta's login screen, go to the Routing Rules tab, then click Add Routing Rule.
- In the popup that appears, set the User matches field to Regex on Login. Set the value as ".*".
- Select the ADSelfService Plus instance for the Use this Identity provider condition.
- Click Create Rule to complete the settings.
- In the pop-up that appears, click Activate.
ADSelfService Plus (identity provider) configuration steps
- Switch back to ADSelfService Plus' Okta configuration page.
- Enter the Application Name and Description as per your preferences.
- Enter the Domain Name of your Okta account. For example, if your Okta username is johnwatts@thinktodaytech.com, then thinktodaytech.com is your domain name.
- In the Assign Policies field, select the policies for which SSO need to be enabled.
Note: ADSelfService Plus allows you to create OU and group-based policies for your AD domains. To create a policy, go to Configuration > Self-Service > Policy Configuration > Add New Policy.
- Under the SSO tab, select Enable Single Sign-On.
- Choose OAuth/OpenID Connect from the Select Method drop-down.
- Enter the Okta portal's login URL in the SP Login Initiate URL field.
Note: Okta requires sign-in to begin from their login page, known as SP-initiated login. Users are first directed to the Okta login page, specified in the SP Login Initiate URL field, after which Okta (the SP) redirects them to ADSelfService Plus (the IdP) for authentication.
- Enter the Redirect URI copied in Step 6 of configuring Okta in the SSO Redirect URL field.
- Using the Scopes drop-down, select openid, which is the scope required for OIDC authentication. You can also specify scopes such as profile or email to include extra user information in the authorization request.
Note: Scopes specify the level of access the access token has. They are typically included in the authorization request. Specify the scopes for which you wish to allow access to your authorization token, using the drop-down.
- Click Add Application to save the configuration.
The Well-known Configuration URL in the IdP details pop-up contains all the endpoint values, supported scopes, response modes, client authentication modes, and client details. This is enabled only after you finish configuring the application for SSO in ADSelfService Plus. You can provide this to your service provider if required.
Don't see what you're looking for?
-
Visit our community
Post your questions in the forum.
-
Request additional resources
Send us your requirements.
-
Need implementation assistance?
Try OnboardPro