Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
firkinfedup #1
Member since Aug 2009 · 9 posts
Group memberships: Members
Show profile · Link to this post
Subject: Authentication via Email
Hi there,

I've asked this question on the eJabberd forum but haven't really understood what I need to be doing just yet.  What I would like to do though is after registering a new user via the OnRegister event and having supplied an Email address, I would like to be able to use this email address for authentication, as opposed to the awkward Jabber ID that I'm currently having to use.

Has anyone any idea what I need to do on the agsXMPP front in order to make this happen?  I understand that the eJabberd server can support this but not entirely sure how.  A million thanks for your time in advance.

Nick.
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
I am not sure if I understood your question correctly.

For authentication you can use only the userid and domain which the user registered on your server.
E.g. If a user has a email adress user@gmail.com you can provide and xmpp server for this user and use this credentials for login because the gmail.com domain is controlled by Google and the run their own XMPP servers for these domains. Unlike in other protocols you can't spoof user Ids and domains in XMPP because XMPP used DNS, Dialback, Certificates and other mechanisms to verify identities.

Alex
Avatar
javanesevn #3
Member since Apr 2008 · 74 posts · Location: Japan
Group memberships: Members
Show profile · Link to this post
In reply to post #1
Hi Firkinfedup,

Did you mean xmpp server can allow SSO authentication?

It seems eJabberd allow LDAP authentication. I am using Openfire server and have no chance to try with LDAP.  :-D
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS