Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Privacy Essentials plugin in Chrome blocks login to Zendesk-backed site with custom domain #1053

Open
malcolm-walker-vertigis opened this issue Feb 15, 2022 · 1 comment

Comments

@malcolm-walker-vertigis
Copy link

malcolm-walker-vertigis commented Feb 15, 2022

Description

When attempting to sign in to a Zendesk Guide site that uses a custom domain, the sign-in process redirects from the custom domain to a zendesk.com domain and then back to the custom domain. DuckDuckGo Privacy Essentials is removing some part of the authentication token which results in a Forbidden / Invalid Authenticity Token error.

Steps to Reproduce

  1. Attempt to create an account on a site that uses Zendesk with a non-zendesk domain, e.g. https://support.vertigis.com/
  2. This configuration requires a CNAME DNS record
  3. Set the password for your new account and sign in

Expected behavior:

Sign-in succeeds

Actual behavior:

Sign-in is not successful, the user is presented with an error stating Invalid Authenticity Token
image

Versions

  • Extension: 2022.01.24
  • Browser: Chrome
  • OS: Windows and Linux

Additional Information

Issue is repeatable. Disabling the DuckDuckGo extension immediately resolves the issue. Only appears on sites that use a custom domain, users can successfully sign in to Zendesk sites that use the zendesk.com domain.

@sammacbeth
Copy link
Collaborator

This is due to 3rd party cookie blocking. Despite using the CNAMEd community.vertigis.com as the site domain, login calls to Zendesk still go directly to vertigis.zendesk.com which is seen as a 3rd-party by our code. This looks like an issue with how Zendesk have implemented their custom domain functionality, requiring 3rd party cookies for it to work correctly. On browsers with 3rd party cookie restrictions it looks like they use the Storage Access API to get around the restrictions.

I'll open an issue internally to see if we can get around this issue, or at least mitigate cases like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants