Authenticated web messaging logout command not working

Hello

I am implementing authenticated web messenger on our secure application. I am getting a CORS error when using the logout command:

logout command:

    (window as any).Genesys('subscribe', 'Auth.ready', () => {
      (window as any).Genesys('command', 'Auth.logout', () => {
        console.log('user logged out');
      });
    });

It calls this endpoint /api/v2/webdeployments/token/revoke but fails to revoke the token due to x-journey-session-id.

Please help

Please open a case with Genesys Cloud Care to report this issue. The server not sending appropriate CORS headers is a bug and can only be resolved via Care.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.