SameSite Cookie Issue — CTI and Iframe Login Failures
Overview
Changes introduced by Google and Mozilla in 2020 to how SameSite cookies are handled can cause failures for users accessing Sharpen within an iframe or CTI framework, such as a CRM integration. This article explains the symptoms of this issue and provides steps to resolve it within both Google Chrome and Mozilla Firefox.
The symptoms described below are specific to Sharpen operating within the iframe of a CRM's CTI framework. This issue may also affect other vendors embedded via iframes, such as through Sharpen Custom Q tabs. The steps below provide a workable resolution, but a permanent fix will ultimately require an update from the associated vendor.
Symptoms
Before proceeding, confirm that your symptoms match one or more of the following. If they do not, contact the Sharpen Care team to help identify a potential isolated root cause.
Failure to log in to the CTI using Single Sign-On (SSO)
Failure to log in to queues, or the Sharpen Q Phone failing to connect
Automatic logout occurring approximately 60 seconds after logging in
Resolution
Google Chrome
In the Chrome address bar, navigate to
chrome://flags/#same-site-by-default-cookies.Set the flag to Disabled using the dropdown.
Click Relaunch to restart the browser and apply the change.
Mozilla Firefox
In the Firefox address bar, navigate to
about:config.
Click Accept the Risk and Continue when prompted.
In the search bar, enter
network.cookie.samesite.Double-click both
network.cookie.sameSite.laxByDefaultandnetwork.cookie.sameSite.noneRequiresSecureto set each value tofalse.
Relaunch the browser to apply the changes.