JSXC Register new user into XMpp server
Hi, I am using Core jsxc V3.3.1.
Is there any function or code available for registering new user into XMPP server. as of now, I am creating a user on the server and testing in JSXC client.
I want to integrate jsxc into my web application. where we already have SQL authentication to my web application after validating I want to authenticate XMPP server then open the side view of jsxc, how to do this?
Please help me. Thank you.
Hi, I'm GitMate.io!
It seems you've just enabled the issue triaging. I'm just scraping all issues from your repository and will give you some more information about this in a few minutes or so.
Because of the rate limit we can't scrape all information (including all comments and authors) right now - our system is already set up to scrape this in the next days over which the predictions will become more precise every day.
If you want me to use a different account for triaging your issues, simply create one and log in with it.
Sit tight!
GitMate.io thinks possibly related issues are https://github.com/jsxc/jsxc/issues/306 (With JSXC Owncloud Internal XMPP Server, All Users are Visible to All other Users By Default), https://github.com/jsxc/jsxc/issues/227 (Ask user to add JSXC as an application for XMPP links), https://github.com/jsxc/jsxc/issues/94 (Problem get bosh url of xmpp server ), https://github.com/jsxc/jsxc/issues/374 (Nextcloud 10, internal XMPP Server, LDAP), and https://github.com/jsxc/jsxc/issues/666 (Cannot register a server).
JSXC does not directly do that. There are two ways to do it, that come to mind:
- Use the same user backend for both the XMPP server and the web application. (The traditional way)
- Configure the XMPP server to ask the web application whether a particular user exists.
The former is what I would recommend if you design the system from scratch; especially when using LDAP as the backend (or something else both sides support).
The latter is what we use in the Nextcloud app: We include a hook in Nextcloud, where the XMPP server can ask for user existence, password correctness, and optionally group information. There is a Protocol description available and a server-side implementation.
If you want to track the state of the inbound registration feature, please subscribe to https://github.com/jsxc/jsxc/issues/178.