Quantcast
Channel: Ephesoft Docs
Viewing all articles
Browse latest Browse all 478

Additional Configuration for Chrome 80

$
0
0

Issue

When using Google Chrome version 80 or later, you may be unable to sign out of Ephesoft Transact if you are signed in using single sign-on (SSO). Additionally, you may face issues if Transact is embedded in an external application using an iframe element.

This issue can occur in a cross-domain configuration scenario and can affect all versions of Transact.

Cause

Starting with Chrome 80, Chrome has made the following changes regarding cookies:

  • All cookies that do not have the SameSite attribute specified are treated by default as if they have SameSite set to Lax.
  • Chrome will only deliver cookies with SameSite set to None if they are also marked as Secure.

What is the SameSite Attribute?

The SameSite attribute is configured when a cookie is set and is used to describe the contexts in which the cookie is available for reading.

There are three possible values for this attribute:

Value Description
Strict When SameSite=“Strict”, the cookie is only available in requests where the request host shares the public suffix of the request origin.

Cross-site cookies are not allowed. For example, if a page on domain.com requested a resource from www.domain.com, the SameSite=”Strict” cookie would send the resource. But if the page on domain.com requested a resource from example.com, any SameSite=”Strict” cookies written on example.com would not be included in the request.

This applies to navigation as well.

Lax When SameSite=”Lax”, the cookie behaves similar to Strict cookies, but does allow for top-level navigation to include the cookie in the HTTP headers.

For example, if you navigate from domain.com to example.com, the SameSite=”Lax” cookies written on example.com would be included in the request.

Note: This is the default value for cookies without an explicitly set SameSite attribute.

None When SameSite=”None”, cookies can be accessed in first-party and third-party contexts without restrictions. This attribute should be used if you have a cookie that must be distributed to multiple domains in HTTP headers.

Important: When the SameSite attribute is set to None, the cookie must also have the Secure flag. Chrome will not accept the Secure flag unless the connection is HTTPS, otherwise the cookie will be blocked.

Solution

Most major SSO providers have adjusted their solutions to reflect this change. If you encounter any issues with iframe or SSO authentication, contact your SSO provider or configure your external web application and ensure that:

  • Authentication and authorization-related cookies have SameSite=”None” and the Secure flag is set. Refer to the workaround listed below.
  • SSO communication is using HTTPS.

Note: Ephesoft Transact currently uses the following four cookies:

  1. sessionExpiry
  2. serverTime
  3. authType
  4. JSESSIONID

Figure 1. Transact Cookies

Workaround

We recommend not embedding Transact as an external web application in an iframe. Instead, consider using a pop-out option to launch Transact. If you are unable to do so, you can manually configure the cookies on your instance of Chrome as another workaround.

Note: This should be done for each user’s instance of Chrome that is facing iframe or SSO issues with Ephesoft Transact.

  1. Open the Chrome browser.
  2. Enter the following in the browser’s location bar: chrome://flags/#same-site-by-default-cookies

Figure 2. Navigate to Flags

This will jump to the SameSite by default cookies entry.

  1. From the drop-down to the right side of this setting, select Disabled.

Figure 3. Disable Selected Cookies

  1. You will be prompted to relaunch the browser. Click Relaunch.

Figure 4. Relaunch Chrome

  1. After the browser relaunches, enter the following in the browser’s location bar: chrome://flags/#cookies-without-same-site-must-be-secure

Figure 5. Navigate to Flags

This will jump to the Cookies without SameSite must be secure entry.

  1. From the drop-down to the right side of this setting, select Disabled.

Figure 6. Disable Selected Cookies

  1. You will be prompted to relaunch the browser. Click Relaunch.

Figure 7. Relaunch Chrome

Conclusion

This completes an overview of potential workarounds to the interoperability issues caused by Chrome 80’s new security features, described above.

The post Additional Configuration for Chrome 80 appeared first on Ephesoft Docs.


Viewing all articles
Browse latest Browse all 478

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>