I have setup an openfire server on my local machine and created few users. Now when I am trying to connect to this server from my iOS application but it is throwing below error in console
RECV: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>
But when I try to connect using spark client app it is successfully connecting to the local openfire server.
I am using robbiehanson/XMPPFramework as an iOS client
and passing userid as "user1@ServerName" where ServerName is "Server Name" value shown in openfire admin console.
Is there any thing more I need to do?