The ConverseJS embedded in Tiki can authenticate in XMPP server using 3 different strategies.
- Username / password
- Prebind
- OAuthBearer Token
When using the username/password mechanism to authenticate, ConverseJS will ask user these information whenever is necessary. It is very easy to setup, but in other hand, it may demotivate the user to join the chat if he needs to type his password several times.
The Prebind mode is mechanism that makes XMPP server to confirm that a specific user is trying to authenticate. The user does not need to type username or password using this mode. Whenever user log into Tiki, he will automatically log into Openfire when needed. The Tiki prebind URL needs to be informed in Openfire panel.
On OAuthBearer Token, ConverseJS extract a special Token from Tiki and gives as a password to Openfire. Extra setup is needed in Openfire side in order to use this mode. Also, this mode is still beta and is available on Tiki 20.
Option |
Description |
Default |
XMPP client (ConverseJS) |
Integration with Converse.js XMPP client. |
Disabled |
XMPP server domain |
XMPP server domain example.org |
None |
XMPP http-bind URL |
Full URL to the http-bind. https://xmpp.example.org/http-bind/ |
None |
XMPP MUC Domain |
Required for auto-joining rooms conference.example.org |
None |
Authentication method |
The authentication method to be used by XMPP client Plain | OAuth (uses Tiki as provider) | Openfire TikiToken |
None |
Openfire REST API endpoint |
Full URL to API endpoint https://xmpp.example.org:9091/plugins/restapi/v1/ |
None |
Rest API username |
Username to allow Openfire API usage |
None |
Rest API password |
Password to allow Openfire API usage |
None |
Allow anonymous |
Allow anonymous users on Chat |
Disabled |
Always Load ConverseJS |
Adds the ConverseJS Javascript and CSS files to every page. |
Disabled |
ConverseJS Debug Mode |
Enables more logging, e.g. XML stanzas and error tracebacks to the JavaScript Console |
Disabled |
ConverseJS Extra Settings |
JSON format object defining extra optional settings to initialize ConverseJS |
None |
Option |
Description |
Default |
XMPP client (ConverseJS) |
Integration with Converse.js XMPP client. |
Disabled |
XMPP server domain |
XMPP server domain example.org |
None |
XMPP http-bind URL |
Full URL to the http-bind. https://xmpp.example.org/http-bind/ |
None |
XMPP MUC Domain |
Required for auto-joining rooms conference.example.org |
None |
Authentication method |
The authentication method to be used by XMPP client Plain | OAuth (uses Tiki as provider) | Openfire TikiToken |
None |
Openfire REST API endpoint |
Full URL to API endpoint https://xmpp.example.org:9091/plugins/restapi/v1/ |
None |
Rest API username |
Username to allow Openfire API usage |
None |
Rest API password |
Password to allow Openfire API usage |
None |
Allow anonymous |
Allow anonymous users on Chat |
Disabled |
Always Load ConverseJS |
Adds the ConverseJS Javascript and CSS files to every page. |
Disabled |
ConverseJS Debug Mode |
Enables more logging, e.g. XML stanzas and error tracebacks to the JavaScript Console |
Disabled |
ConverseJS Extra Settings |
JSON format object defining extra optional settings to initialize ConverseJS |
None |
Option |
Description |
Default |
XMPP client (ConverseJS) |
Integration with Converse.js XMPP client. |
Disabled |
XMPP server domain |
XMPP server domain example.org |
None |
XMPP http-bind URL |
Full URL to the http-bind. https://xmpp.example.org/http-bind/ |
None |
XMPP MUC Domain |
Required for auto-joining rooms conference.example.org |
None |
Authentication method |
The authentication method to be used by XMPP client Plain | OAuth (uses Tiki as provider) | Openfire TikiToken |
None |
Openfire REST API endpoint |
Full URL to API endpoint https://xmpp.example.org:9091/plugins/restapi/v1/ |
None |
Rest API username |
Username to allow Openfire API usage |
None |
Rest API password |
Password to allow Openfire API usage |
None |
Always Load ConverseJS |
Adds the ConverseJS Javascript and CSS files to every page. |
Disabled |
ConverseJS Debug Mode |
Enables more logging, e.g. XML stanzas and error tracebacks to the JavaScript Console |
Disabled |
ConverseJS Extra Settings |
JSON format object defining extra optional settings to initialize ConverseJS |
None |
Option |
Description |
Default |
XMPP client (ConverseJS) |
Integration with Converse.js XMPP client. |
Disabled |
XMPP server domain |
XMPP server domain example.org |
None |
XMPP http-bind URL |
Full URL to the http-bind. https://xmpp.example.org/http-bind/ |
None |
XMPP MUC Domain |
Required for auto-joining rooms conference.example.org |
None |
Authentication method |
The authentication method to be used by XMPP client Plain | OAuth (uses Tiki as provider) | Openfire TikiToken |
None |
Openfire REST API endpoint |
Full URL to API endpoint https://xmpp.example.org:9091/plugins/restapi/v1/ |
None |
Rest API username |
Username to allow Openfire API usage |
None |
Rest API password |
Password to allow Openfire API usage |
None |
Always Load ConverseJS |
Adds the ConverseJS Javascript and CSS files to every page. |
Disabled |
ConverseJS Debug Mode |
Enables more logging, e.g. XML stanzas and error tracebacks to the JavaScript Console |
Disabled |
ConverseJS Extra Settings |
JSON format object defining extra optional settings to initialize ConverseJS |
None |
Option |
Description |
Default |
XMPP client (ConverseJS) |
Integration with Converse.js XMPP client. |
Disabled |
XMPP server domain |
XMPP server domain example.org |
None |
XMPP http-bind URL |
Full URL to the http-bind. https://xmpp.example.org/http-bind/ |
None |
XMPP MUC Domain |
Required for auto-joining rooms conference.example.org |
None |
Authentication method |
The authentication method to be used by XMPP client Plain | OAuth (uses Tiki as provider) | Openfire TikiToken |
None |
Openfire REST API endpoint |
Full URL to API endpoint https://xmpp.example.org:9091/plugins/restapi/v1/ |
None |
Rest API username |
Username to allow Openfire API usage |
None |
Rest API password |
Password to allow Openfire API usage |
None |
ConverseJS Debug Mode |
Enables more logging, e.g. XML stanzas and error tracebacks to the JavaScript Console |
Disabled |
ConverseJS Extra Settings |
JSON format object defining extra optional settings to initialize ConverseJS |
None |
New in Tiki17: the addition of the ConverseJS XMPP client.
New in Tiki19: PluginXMPP to embed a chatroom in a wiki page
The reference implementation is with Openfire, but this should work with any XMPP server (perhaps with fewer features).
alias
|