Hey folks,
Stuck on a CORS error when trying to embed the Genesys Cloud Web Messaging widget in a Next.js 14 app. The widget loads, but the initial handshake to https://api.mypurecloud.com/api/v2/webmessaging/sessions fails with 403 Forbidden in the browser console.
I’ve whitelisted the dev domain in the Genesys org settings, but it’s still bombing. Here’s the init call:
gcWebMessaging.init({
organizationId: '123',
widgetId: 'abc',
});
Tried these steps:
- Verified allowed domains in Genesys Cloud Admin.
- Checked Next.js
rewritesconfig. - Disabled all browser extensions.
Anyone hit this?