- Issue created by @jsobiecki
- Merge request !9#3415987 - fixed missing credentials in XHR call in cross domain setup. → (Open) created by jsobiecki
- Issue was unassigned.
- Status changed to Needs review
11 months ago 9:49pm 19 January 2024 - 🇵🇱Poland jsobiecki Wroclaw
The MR includes simple fix. The fix assumes
1. CORS requests allowed between en.site.com and site.com
2. Cookie has samesite: None and cookie_domain is ".site.com" - Status changed to Postponed: needs info
about 1 month ago 1:47am 8 November 2024 - 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
Thanks for the report and work on this +1! Can you please re-test without the patch if this issue still exist? Reason is that this behavior has been reported elsewhere and stated that it is gone lately over here: 📌 Automated Drupal 11 compatibility fixes for coffee RTBC Also, in case if still required, we maybe need a MR in sync with this issue branch over there to get it added quickly to the Drupal 11 ready commit.
- 🇵🇱Poland jsobiecki Wroclaw
Hello @dqd,
I re-created an empty, Drupal test site with similar setup (two domains, domain-based language detection).
For testing, I'm using the dev version of the module.
My results:
"Vanilla" dev version - problem persists; the get-data endpoint returns a 403 error, and no suggestions appear in the coffee widget.
"Vanilla" dev version with automatic D11 fixes patch (https://git.drupalcode.org/project/coffee/-/merge_requests/15.diff ) - problem persists; the get-data endpoint still returns a 403 error, and there are no suggestions.
However, "Vanilla" dev version with automatic D11 fixes and the patch from this issue apply cleanly, and the problem is solved; the widget works as expected.As a bottom line, the problem still exists, but the patches apply cleanly and fix the reported issues. The issue was detected on a really "clean" installation of Drupal 10.