Zendesk widget — allowlist test bench
Tests the Zendesk widget allowlisted domains setting (Admin Center → Channels → Web Widget / Messaging → brand → Allowlist). Open the same widget URL from each Pages origin you've spun up; whether it renders depends on whether that origin is in the brand's allowlist.
This origin
You are on:
How to test
- In Zendesk Admin → the brand's widget settings → set Allowlisted domains to a specific origin (e.g. just this one, or just a sibling project).
- Open the widget link below from each Pages origin you have. The widget initializes only on origins in the allowlist.
- To get more origins: deploy this same site to a second Pages project (different
*.pages.dev hostname) — see "Add another origin" below.
- Open DevTools → Console + Network. Allowlist rejection appears as the widget script loading but not opening, plus a console message from
zopim/zendesk-widget about the origin not being allowed.
Widgets on this origin