How to Troubleshoot SSO/SAML Login Issues in Drata
Single Sign-On (SSO) and Security Assertion Markup Language (SAML) configurations are critical for seamless authentication in Drata. If users encounter login issues, such as reaching the Identity Provider (IdP) but failing on callback or being unable to log in entirely, follow these troubleshooting steps to identify and resolve the problem.
Common Causes of SSO/SAML Login Issues
Identity Mismatch
Confirm the email address that should serve as the authoritative login identity for the user in Drata. Ensure the user logs in with this email address.
Verify that the user is assigned to the correct Drata enterprise application in your IdP (e.g., Azure AD, Okta).
Check SAML claim mappings, particularly the
NameIDand email-related attributes. These attributes must consistently represent the same intended Drata user identity. Mismatched domains or addresses can cause the SSO callback to fail.
Expired or Updated SAML Certificates
Ensure the SAML signing certificate for the Drata application in your IdP has not expired or been rotated. If it has, download the updated IdP metadata and re-upload it in Drata’s SSO settings.
Policy or Configuration Changes
Review any recent changes to sign-on, multi-factor authentication (MFA), or Conditional Access policies targeting the Drata application. Revert or adjust changes that might block access.
Check for domain or URL changes, organizational migrations, or if the Drata app has been deactivated or reconfigured in your IdP.
Step-by-Step Troubleshooting Guide
Verify User Assignment and Attributes - Confirm that affected users are assigned to the Drata application in your IdP. - Ensure the
NameIDor email sent by the IdP matches the user’s Drata email address exactly.Analyze Error Logs - Capture the exact error message or screenshot users see during login. - Note when the issue first occurred and review your IdP’s sign-in or system logs for failed sign-in entries. These logs can help pinpoint the root cause.
Update SAML Certificates - If the SAML certificate has expired or been updated, download the new IdP metadata and upload it to Drata’s SSO settings.
Check for Configuration Changes - Investigate any recent changes to policies, domains, or the Drata app configuration in your IdP. Revert or adjust as necessary.
Best Practices for Maintaining SSO Configurations
Regularly review and update SAML certificates before they expire.
Ensure consistent SAML claim mappings for all users.
Monitor and document changes to IdP configurations and policies.
Periodically audit user assignments to the Drata application in your IdP.
By following these steps and best practices, you can effectively troubleshoot and prevent SSO/SAML login issues in Drata.
