Objective
This article explains how to install the SAML Tracer Chrome extension and use it to capture SAML authentication traces. These traces help troubleshoot common Twilio Flex SSO login issues and allow you to share accurate diagnostic information with Support when users cannot sign in or encounter SSO errors.
Product
Twilio Flex
User Account Permission/Role(s) Required
Access to Google Chrome on your computer
Permission to sign in to Flex using your organization’s SSO provider
No Twilio admin role is required to capture traces
Procedure
Step 1: Install the SAML Tracer Chrome Extension
- Open Google Chrome.
- Go to the Chrome Web Store.
- Search for SAML Tracer (SAML Tracer Chrome Extension).
- Select SAML Tracer.
- Click Add to Chrome, then confirm by clicking Add extension.
- After installation, ensure the extension is visible in the Chrome toolbar.
- If not visible, click the puzzle icon and pin SAML Tracer.
Step 2: Open SAML Tracer and Prepare to Capture Logs
- Click the SAML Tracer icon in the Chrome toolbar.
- A new tab will open showing the SAML Tracer interface.
- Click Clear to remove any existing logs.
- Ensure SAML Tracer is actively capturing (default behavior).
Step 3: Reproduce the Flex SSO Login Issue
- Open a new Chrome tab.
- Navigate to your Twilio Flex login URL.
- Start the SSO login flow.
- Proceed until:
- The login fails, or
- You are redirected unexpectedly, or
- An error message appears.
- Do not close the browser tabs.
Step 4: Review and Export the SAML Trace
- Return to the SAML Tracer tab.
- Review the captured entries, focusing on:
AuthnRequestSAMLResponse- HTTP status codes (403, 401, 500)
- Click Export.
- Save the file as a .json file.
Step 5: Share the Trace with Twilio Support
- Open or update your Twilio Support ticket.
- Attach the exported SAML Tracer file.
- Include:
- Approximate time of the login attempt
- Your Flex domain
- A short description of the issue (for example: “User redirected back to IdP after login”)
Additional Information
Common Issues Identified with SAML Tracer
- Missing or incorrect
NameID - Invalid or expired SAML assertions
- Flex attributes weren't mapped to task router worker
- Incorrect ACS (Assertion Consumer Service) URL
Related Documentation