Hello,
We are using Web Messaging JavaScript SDK to embed messaging widget to the app.
Till the time we were not using Authenticated Web Messaing, i was able to open the widget.
But, when we are introducing the authentication to this messenger configuration, the widget doesn't open at all.
We are using the below code to open the messenger:
Genesys("subscribe", "Messenger.ready", function() { Genesys("command", "Messenger.open"); });
When I enabled the debug logs, it shows the below commands but the widget doesn't opens up:
14:10:18.761 genesys.min.js:10 Genesys called the command: Auth.getTokens%c
14:10:18.762 genesys.min.js:10 Auth is loading and/or has not yet called its ready() method. Your command call (Auth.getTokens) has been buffered and will be executed once the plugin has loaded and/or called its ready() method.
14:10:32.487 genesys.min.js:10 Genesys subscribed to Messenger.ready%c
14:10:32.488 genesys.min.js:10 Genesys subscribed to Database.ready%c
14:10:32.488 genesys.min.js:10 Database republished: Database.ready%c
14:10:32.489 genesys.min.js:10 Genesys called the command: Database.set%c
14:10:32.489 genesys.min.js:10 Database published: data%c
14:10:32.490 genesys.min.js:10 Database published: data.database%c
14:10:32.490 genesys.min.js:10 Database published: updated%c
Regards
Maloy