OKTA Integration With Orchestrator Failing

Resolution for OKTA Integration with Orchestrator Failing

Issue Description: Orchestrator not loading after OKTA Integration with Orchestrator was configured in the following locations:

  • https://orchestratorURL/identity Identity Management External Providers settings

OR

  • The SAML configuration file that the user-created to override the Identity Management External Providers settings

Troubleshooting Steps:

  • Capture a screenshot of the error message.
  • Capture the Application Event Viewer logs from the Orchestrator Machine after causing the error.

HowTo:

Go to Start > Run > eventvwr.

Right-click Windows Logs -> Application and select Save All Event as.

  • Save the log in the evtx format and share it.

Resolutions depending on the Error Message and the Error Presented in the Event Viewer Logs

  • Ensure to install the OKTA signing certificate in the Personal and Trusted Root credential store

Steps to import certificate :

  • Enter Start | Run | MMC.
    1. Click File | Add/Remove Snap-in .
    2. In the Add or Remove Snap-ins window, select Certificates and click Add.
    3. Select the Computer account radio button when prompted and click Next.
    4. Select Local computer (selected by default) and click Finish.
    5. Back in the Add or Remove Snap-ins window, click OK.
    6. In the MMC main console, click on the plus (+) symbol to expand the Certificate snap-in.
    7. Navigate to Personal | Certificates pane.
    8. Right-click within the Certificates panel and click All Tasks | Import to start the Certificate Import Wizard.
    9. Follow the wizard to import the signed certificate.

  • Try using the thumbprint instead of the Serial Number. (You can find the thumbprint in the Certificate details. See the screenshot below.

  • See the screenshot below for Orchestrator requesting the thumbprint.

  • Ensure to follow the instructions as provided in Okta Authentication
  • Check for hidden characters in the thumbprint that you are using for the certificate by completing the following steps.
  1. Copy the thumbprint from the details tab of the certificate from the mmc console.
  2. Paste your thumbprint into Notepad++
  3. In Notepad++, go to the Encoding tab and select 'Encode in ANSI'. (This highlights the hidden characters)
  4. If a hidden character exists, remove it and repaste it where necessary.

  • If an error similar to Sustainsys.Saml2.Configuration.CertificateElement.LoadCertificate() or IdentityProviders.Saml2.Configuration.CertificateElement.LoadCertificate() is found, the user is likely using a SAML configuration file to override the Identity Management External Providers settings (See Screenshot below).
Update the appropriate entityId for the error in the SAML file. ![](upload://hXDjDSEbz1TAEt5P6op9HtPvUza.png)
  • Ensure the Service Provider Entity ID ends with /identity