The flexibility of GC is amazing, but I have hit a snag with the Edge configuration during our migration sprint.
In Zendesk, we used to rely on simple embedded script tags that handled authentication automatically through session cookies. We are now trying to replicate this seamless experience using the Genesys Cloud Web Widget SDK (version 2.1.0) behind our Private Edge deployment. Our goal is to map the Zendesk ticket context to the Genesys Cloud interaction metadata upon entry.
However, when the widget attempts to initialize the session via the /api/v2/webchat/organizations/{orgId}/webchat/sessions endpoint on our private edge URL, we are receiving a 401 Unauthorized error. The response body indicates: "error_summary": "The provided token is invalid or expired."
I have verified that the client ID and secret in the widget configuration match the API credentials created in the GC Admin console. We are also using the correct edge endpoint URL provided in the Edge management dashboard. I suspect there might be a mismatch in how the authentication token is being generated or passed compared to the standard public cloud setup. In Zendesk, this was handled by the platform natively, so I am unsure if there is a specific header or payload requirement for the private edge token exchange that I am missing.
Has anyone else faced this issue when migrating from Zendesk’s embedded widget to Genesys Cloud’s private edge widget? Any practical migration advice or configuration checks would be incredibly helpful! Thanks in advance!