No suitable authentication method found

Hi Everyone,

I am struggling with the following error I am getting while authenticating user with Smack 4.0.0 in iOS. I am running openfire 4.6.2 on Ubuntu 18.04.

Error Domain=XMPPStreamErrorDomain Code=4 “No suitable authentication method found” UserInfo={NSLocalizedDescription=No suitable authentication method found}

I have referred https://github.com/robbiehanson/XMPPFramework/issues/576 but doesn’t help. I am not getting any “mechanisms” from any of the responses from openfire. Can you help pointing me in the right direction please?

Thanks
Manish