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.
- Click File | Add/Remove Snap-in .
- In the Add or Remove Snap-ins window, select Certificates and click Add.
- Select the Computer account radio button when prompted and click Next.
- Select Local computer (selected by default) and click Finish.
- Back in the Add or Remove Snap-ins window, click OK.
- In the MMC main console, click on the plus (+) symbol to expand the Certificate snap-in.
- Navigate to Personal | Certificates pane.
- Right-click within the Certificates panel and click All Tasks | Import to start the Certificate Import Wizard.
- 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.
- Copy the thumbprint from the details tab of the certificate from the mmc console.
- Paste your thumbprint into Notepad++
- In Notepad++, go to the Encoding tab and select 'Encode in ANSI'. (This highlights the hidden characters)
- 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. 
- Ensure the Service Provider Entity ID ends with /identity