Legacy Dev Forum Posts

 View Only

Sign Up

Authenticated web messaging logout command not working

  • 1.  Authenticated web messaging logout command not working

    Posted 06-05-2025 18:38

    Ramesh_Harshad | 2024-11-08 16:08:57 UTC | #1

    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


    tim.smith | 2024-11-08 16:17:08 UTC | #2

    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.


    system | 2024-12-08 16:18:03 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 30277