Hi All,
I am new to Ejabberdand I am stuck with the below issue. I want to be able to register a NEW user to my XMPP Ejabberd Server. What are the steps to achieve this ?
Background :
1. I am using NodeJS for programming.
2. My BOSH URL is accessed via Port 80 (Nginx configuration)
3. My Aim is to : When a user registers himself to my website, I want to be able to register the SAME User on my XMPP Server. What are the configurations that need to be ENABLED in Ejabberd.CFG in order to achieve this ?
4. What approach should be used :
a. Connect to XMPP with Admin Credentials and then register user -> How to do it
b. Connect to XMPP with 'the DOMAIN under which I want to register user' and then register user -> How to do it
NOTE : I am using Ejabberd Server Latest Version.
Please let me know your thoughts around the same ? Also, I am open to any other way to achieve the same. Thanks !
You should probably use a
You should probably use a authentication module that point to your existing credentials (external auth, ldap, etc) or play with mod_register to allow creating the account as you need them.
Hi, I have a similar setup
Hi,
I have a similar setup and trying to achieve something along these lines - did you figure this out or solved the problem with nodejs integration/authentication? Also, for BOSH connection, how did you achieve this?
Thanks!
Hi @gpadbidri, What libraries
Hi @gpadbidri,
What libraries did you use to connect nodejs to ejabberd? I'm trying to find the best way to connect two servers? Can you please provide a sample code or pointers?
Cheers!
Hi All,
I am new to Ejabberdand I am stuck with the below issue. I want to be able to register a NEW user to my XMPP Ejabberd Server. What are the steps to achieve this ?
Background :
1. I am using NodeJS for programming.
2. My BOSH URL is accessed via Port 80 (Nginx configuration)
3. My Aim is to : When a user registers himself to my website, I want to be able to register the SAME User on my XMPP Server. What are the configurations that need to be ENABLED in Ejabberd.CFG in order to achieve this ?
4. What approach should be used :
a. Connect to XMPP with Admin Credentials and then register user -> How to do it
b. Connect to XMPP with 'the DOMAIN under which I want to register user' and then register user -> How to do it
NOTE : I am using Ejabberd Server Latest Version.
Please let me know your thoughts around the same ? Also, I am open to any other way to achieve the same. Thanks !