[Resolved] SAML requests blocked
Posted: Tue May 24, 2022 12:04 am
When I attempt to launch sites through my work's SSO portal, I only get a blank new tab instead of the expected SAML handshake and page load. As we have heavily embraced SSO, this has a massive impact on my productivity throughout the day. I am using Firefox (tested against 100.0.1 and 100.0.2) + NoScript (11.4.5).
Since the page opens in a new tab, I can't use the normal "Web Developers Tools" view to see what's going on. Luckily, Firefox also has a "Browser Console" that allows you to see the same information across ALL tabs to track what's happening.
What I see in the console is a GET request to the launch page, with a 302 Found response and a red cancel/error circle ( \ ), but shown as "Blocked By Extension." I can see the full headers and cookies data. However, the request payload is scrubbed ("No payload for this request"), and obviously there is no response. I have both of the two domains involved in the handshake added to trusted sites, and I even turned off the XSS protection ("Sanitize cross-site suspicious requests" is unchecked) for the purposes of this test.
The only way I've successfully been able to get this to work is to Disable restrictions globally (completely undesired). Since the action automatically opens in a new tab, I don't have the ability to Disable restrictions for this tab without breaking the initial SAML request. I've tried restarting the browser and OS, as well as clearing cache and cookies. Once the initial request has gone through, and assuming my session has not ended, it does seem that I am able to launch additional SAML requests to the same target site with NoScript enabled, without any issues.
While I can't share details on the exact SAML process for obvious security reasons, I can share that the JS associated with launching the site+SAML request is hosted on a subdomain of cloudfront.net, under /hub-ui/
Since the page opens in a new tab, I can't use the normal "Web Developers Tools" view to see what's going on. Luckily, Firefox also has a "Browser Console" that allows you to see the same information across ALL tabs to track what's happening.
What I see in the console is a GET request to the launch page, with a 302 Found response and a red cancel/error circle ( \ ), but shown as "Blocked By Extension." I can see the full headers and cookies data. However, the request payload is scrubbed ("No payload for this request"), and obviously there is no response. I have both of the two domains involved in the handshake added to trusted sites, and I even turned off the XSS protection ("Sanitize cross-site suspicious requests" is unchecked) for the purposes of this test.
The only way I've successfully been able to get this to work is to Disable restrictions globally (completely undesired). Since the action automatically opens in a new tab, I don't have the ability to Disable restrictions for this tab without breaking the initial SAML request. I've tried restarting the browser and OS, as well as clearing cache and cookies. Once the initial request has gone through, and assuming my session has not ended, it does seem that I am able to launch additional SAML requests to the same target site with NoScript enabled, without any issues.
While I can't share details on the exact SAML process for obvious security reasons, I can share that the JS associated with launching the site+SAML request is hosted on a subdomain of cloudfront.net, under /hub-ui/