No Configuration Available - Auth getToken

Hi there,

I'm getting a 'No configuration available' even though I do have an Authentication setup for the Messenger Configuration.

Authentication Setup

Console Output
Screenshot 2024-11-03 at 3.48.03 PM

I have also validated the the Jwt Exchange via Postman and I am able to get a jwt token using the auth code I receive from login.

I have no details of the error other than 'No Configuration Available', what are possible next step to assist me in troubleshooting the issue if I already have an Authenication setup?

Thanks.

Hi,

It looks like that Messenger cannot retrieve the configuration.
This could be a network issue or a setting issue.

  • Check in the network tab that Http calls to Genesys domain are not blocked.
  • Check your configuration on GC side.
    It might be that your deployment is not linked to your configuration. Hence the error.
  • If the link is ok, then check that the right deploymentId is specified in Messenger.
    From the deploymentId, Messenger will fetch the configuration linked to it.

Hope this helps,

Regards,
V.P.

I was able to resolve this by putting the Auth.getTokens command in the subscribe command.

Full Code:
Genesys("subscribe", "Auth.ready", function() {
console.log("Auth plugin is ready.");
console.log("Auth plugin is getting Tokens.");
AuthProvider.command('Auth.getTokens');
});

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