Viewing a Security Assertion Markup Language (SAML) response in a web browser is a critical step when troubleshooting SAML 2.0-related issues. Extract the SAML response directly from the developer console or network tools of Google Chrome, Mozilla Firefox, Apple Safari, or Microsoft Internet Explorer to analyze the encoded request.
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Security Assertion Markup Language (SAML) Response
- Web Browsers
- Single Sign-On (SSO)
NOTE: The SAML response is always on the Assertion Consumer Service (ACS) URL; therefore the SAML post will always be on the ACS URL.
What are the steps to view a SAML response in Google Chrome?
Open the developer console, enable the preserve log feature, reproduce the issue, and locate the encoded request within the network headers.
- Press F12 to start the developer console.
- Select the Network tab, and then select Preserve log.
- Reproduce the issue.
- Look for a SAML Post in the developer console pane.
- Select that row, and then view the Headers tab at the bottom.
- Look for the SAMLResponse attribute that contains the encoded request.
What are the steps to view a SAML response in Mozilla Firefox?
Open the developer console, persist the network logs, reproduce the issue, and locate the encoded request within the form data parameters.
- Press F12 to start the developer console.
- In the upper right of the developer tools window, click the options gear icon.
- Click Persist logs.
- Select the Network tab.
- Reproduce the issue.
- Look for a POST SAML in the table.
- Select that row.
- In the Form Data window on the right, select the Params tab and find the SAMLResponse element.
What are the steps to view a SAML response in Apple Safari?
Enable the web inspector in the browser settings, open the resources tab, reproduce the issue, and locate the encoded request data.
- Enable Web Inspector in Safari by navigating to Settings.
- Click Privacy.
- Click Advanced Settings then select Show features for web developers.
- Open the Web Inspector by clicking Develop, then select Show Web Inspector.
- Select the Network tab, and then select Preserve log.
- Reproduce the issue.
- Look for a SAML Post in the developer console pane.
- Select that row, and then view the Headers tab at the bottom.
- Look for the SAMLResponse attribute that contains the encoded request.
What are the steps to view a SAML response in Microsoft Internet Explorer?
Use a third-party web debugging proxy tool to capture and analyze the network traffic during a passive sign-in.
- Follow the steps in the article AD FS 2.0: How to Use Fiddler Web Debugger to Analyze a WS-Federation Passive Sign-In to download and install Fiddler and capture the data.
NOTE: Fiddler is provided as an example only; use a web debugging proxy tool that best fits the organization's guidelines.
