Hey,
I'm creating a web site with XMPP based chat and I'd like some features (e.g. adding contacts) to be only allowed through the web app backend - user will make a request to the web app and it will make XMPP request to ejabberd server on behalf of the user. I was thinking about attaching an authorization token to every request sent by the web app and ejabberd would reject all requests of a specific type with missing/invalid token.
Is it possible?
Cheers,
Szymon
If you apply this change to
If you apply this change to ejabberd 2.1.x
When a client sends this, nothing happens:
When a client sends this, the subscription works as usual: