Looking for advice on injecting custom guest attributes into the Genesys Cloud Web Messaging SDK when initializing from a React Native bridge. I pass a verified payload via initGuest, but the widget drops userId and segment before the WebSocket handshake completes.
const config = { customAttributes: { userId: 'usr_882', segment: 'premium' } };
Per the Genesys Docs, this structure should work, yet /api/v2/conversations/messaging returns a 400 with {"errorId":"invalid.guest.config","message":"Missing required guest identity token"}. Does the SDK need a separate OAuth bearer token for authenticated guests, or is the bridge JSON malformed?