Authentication through rest API

Hi,

It is possible to authenticate object through rest API ? Or exist something like smack for javascript?

Just, I need to find out if the username and password are valid.

Thanks

There is a JavaScript library - Strophe.js (Smack for JavaScript). https://xmpp.org/software/libraries.html

Thanks … I found out this XEP-0070 … sorry but I am new in xmpp … how can I instal this extension on exist XMPP (openfire) server ?

If you ask about XEP-0070, then it is not installed. This is a standard, using which implementation have to be build in clients and servers. I’m not familiar with that standard and don’t know what software supports it. If you are asking about Strophe, can’t help either, not a developer myself.