[jdev] Jabber Login with OpenID

Bernhard zwischenbrugger bz at datenkueche.com
Fri May 22 07:39:07 CDT 2009


Hi All

I try to make a webchat with OpenID Login.

OpenID is not difficult.
Using https://rpxnow.com/ for example makes it very simple.
Also a Jabber Login using "Strophe" or and other BOSH Lib is simple.
No Problem with that

But combining this 2 things is not easy at all.

If you have never seen openid, here is a simple login process:
http://lamp2.fhstp.ac.at/~lbz/beispiele/ss2009/openid/

ejabberd provides the "auth_method: external" and it should be possible 
to login using openid.

The problem:

1.) I don't know how to make the login. I have to send the TOKEN to the 
jabberserver, but I don't have a username or password.
2.) If I don't have a username, the jabberserver can't create a useraccount
3.) What to use as username? openid provides an "identifier" which seems 
to be unique - but thats not a good username.

Maybe you have an idea for some if this things.

thanks

Bernhard







More information about the JDev mailing list