You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our setup we are using external services which validate userAgent values and do not respond correctly to values like "HeadlessChrome". Currently we are setting "userAgent" value in cypress.config.ts file but it will require regular updates to make sure other parts of the userAgent string are tested and up-to-date.
It would be helpful if there was a switch that allows for using the standard userAgent values even in headless mode.
Why is this needed?
Our application implements SSO using an external identity provider. SSO flow requires that the cookies exchanged between the identity provider and the app can be read across domains. Now what happens is that the identity provider sets the cookies correctly: sameSite: 'none' if the user agent represents standard browsers, if the browser name is "HeadlessChrome" then the cookie is set with: sameSite: 'lax' which breaks the SSO flow - identity provider does not recognize the already logged in user and displays the login form.
Other
No response
The text was updated successfully, but these errors were encountered:
What would you like?
In our setup we are using external services which validate userAgent values and do not respond correctly to values like "HeadlessChrome". Currently we are setting "userAgent" value in
cypress.config.ts
file but it will require regular updates to make sure other parts of the userAgent string are tested and up-to-date.It would be helpful if there was a switch that allows for using the standard userAgent values even in headless mode.
Why is this needed?
Our application implements SSO using an external identity provider. SSO flow requires that the cookies exchanged between the identity provider and the app can be read across domains. Now what happens is that the identity provider sets the cookies correctly:
sameSite: 'none'
if the user agent represents standard browsers, if the browser name is "HeadlessChrome" then the cookie is set with:sameSite: 'lax'
which breaks the SSO flow - identity provider does not recognize the already logged in user and displays the login form.Other
No response
The text was updated successfully, but these errors were encountered: