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