All Collections
Troubleshooting SAML
Troubleshooting SAML

Learn how to troubleshoot common SAML issues.

Updated over a week ago

If you see an error on the Envoy login screen after attempting to sign in to Envoy using SSO, you may need to check some configuration settings.

Scenario 1: SAML certificate is not valid

This may indicate that the identifiers are mis-configured for the Envoy Relying Party Trust. Check the Identifiers tab of the properties dialog and ensure that there is a single Relying Party identifier with

Scenario 2: SAML account/company not found

This error could result from a couple problems:

  • It may indicate that the fingerprint in the Envoy configuration is misconfigured. Make sure that you have the SHA1 fingerprint (or thumbprint) of the token-signing certificate. If you are unsure which certificate is used, you may try capturing the SAML request in the browser and decoding it to check.

  • It may also indicate that the SAML assertion was sent successfully, but that Envoy could not find a user that corresponds to that email address. Ensure that that the user who is logging in has an email address that is already provisioned and confirmed in Envoy.

    • Also, please ensure that the email the SAML request is sending matches the email in the Envoy employee directory.

Scenario 3: No error, just displays login screen

This may indicate that the user’s email address is not getting sent correctly. Double check that there are two Claim Rules configured to send the LDAP email address as a Name ID claim.

Scenario 4: AADSTS75011: Authentication method by which the user authenticated with the service doesn't match requested authentication method 'Password, ProtectedTransport'. Contact the Envoy_SSO application owner.

This error is most likely due to Envoy setting 'Password, ProtectedTransport' as an exact match requirement for the authentication method through SSO. Please contact Envoy Support so that we can adjust the requirements of your specific SAML integration to set that to optional.

Note: This mostly only happens when setting up SAML through Azure AD.

Scenario 5: SAML Certificate Expired (Azure)

Refreshing your SSO application certificate in Azure Active Directory (AD) is crucial for maintaining secure and uninterrupted service. Follow these steps to update your certificate:

Create a New Certificate in Azure Active Directory (AD):

  1. Navigate to Azure AD: Access your Azure AD instance through the Azure portal.

  2. Manage SSO Application Certificates: Go to the section dedicated to managing SSO application certificates.

  3. Create a New Certificate: Generate a new certificate, ensuring it aligns with your security and validity requirements.

Remove the Old Certificate:

  1. Locate the Expiring Certificate: Find the certificate for your SSO Application that is nearing expiration.

  2. Deactivate or Remove: Carefully deactivate or remove this certificate to avoid any service disruption.

Activate the New Certificate:

  1. Activate: Activate the newly created certificate.

  2. Set as Primary: Ensure it is designated as the primary certificate for your SSO Application.

Updating the Fingerprint in Envoy

After updating the certificate in Azure, the next step is to update the fingerprint in Envoy. This ensures seamless SSO functionality.

Copy the New Certificate Thumbprint:

  1. Find the New Certificate in Azure: Locate the newly activated certificate in Azure.

  2. Copy Thumbprint: Copy the hexadecimal string representing the certificate's thumbprint.

Log in to Your Envoy Dashboard:

  1. Access Dashboard: Log into your Envoy dashboard.

  2. Navigate to Apps/SSO Configuration: Find the Apps or SSO configuration section.

Update the Fingerprint:

  1. Find SAML Configuration: Go to the SAML configuration section or similar.

  2. Replace Thumbprint: Substitute the old certificate's thumbprint with the new one from Azure.

  3. Verify Entry: Ensure the new thumbprint is accurately entered without errors.

Save Changes:

  1. Apply New Settings: Save your changes to apply the new certificate settings to your Envoy SSO configuration.

Test the Configuration:

  1. Perform Test Sign-In: Conduct a test sign-in to verify the SSO functionality with the new certificate.

  2. Check for Errors: Ensure there are no errors and that authentication is successful.

If you need support

If you need to contact Envoy support, there are a few pieces of information that we’ll need to help resolve your issues.

  • Tell us the exact time that you tried logging in and saw an error. It helps us to be able to look up the failure in our logs. Let us know the email address of the user that is attempting to log in, so we can double check that user is in our system.

  • It’s also very helpful to capture the SAML request or response in the browser so we can compare it to what we expect. Most web browsers support a way to view the contents of a request.

How to grab a SAML response (Chrome):

Step 1: Open Developer Tools

  1. In Chrome, open the Envoy Dashboard login page.

  2. Access Developer Tools: You can open the Developer Tools by right-clicking anywhere on a webpage and selecting Inspect or use the keyboard shortcut Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (Mac).

Step 2: Go to the Network Tab

  1. Navigate to the Network tab: In the Developer Tools window, find the tab labeled Network and click on it.

  2. Prepare to capture traffic: Make sure the record button (the red circle at the top-left of the Network tab) is activated. If it’s grey, click it to start recording.

  3. Preserve log: Check the Preserve log box to keep the network log upon navigation. This ensures that the log isn't cleared when the authentication process redirects you through different pages.

Step 3: Initiate the SSO Process

Enter credentials and log in: Perform the login steps as you normally would until you are redirected back from the SSO provider. It's important to start recording before logging in to capture the entire SSO process.

Step 4: Capture the SAML Response

  1. Filter the traffic: In the Network tab, use the filter box (usually labeled "Filter" or represented by a text box with a magnifying glass) and type "SAML". This helps in isolating the SAML related network requests.

  2. Identify the SAML Response: Look for network entries with names like SAMLRequest or Consume.

  3. Inspect the details: Click on the relevant entry to view the details.

    1. Check the POST requests payload tab.

  4. Copy the SAML Response: Right-click on the request: Choose "Copy" and then select "Copy response" or select the string of letters after "SAMLResponse"

  5. Send this data to Envoy Support: You can also decode it yourself here.

If you encounter issues capturing the SAML response, try clearing your browser's cache and cookies before starting the process.

Consider performing these steps in an incognito window to avoid interference from browser extensions or cookies and cache that might affect the SSO process.

Did this answer your question?