For a personal project, I needed a SSO solution. After having take a look to Microsoft Passport and Yahoo! SSO, I focused on OpenID (see openid.net). It is less secured but not limited to one provider (see for example myopenid.com, verisign or soon Orange).
Then here is a collection of snippets based on Weblogin including OpenID authentification.
New version 0.95:
- Can now completely replace weblogin (there was some references to weblogin snippet folder in previous version)
- Localization of validation messages for users
- Email validation included for local signup
- Use of templates (chunks) for email content (useful for localization) and subject
- Some code cleanup...
openidlogin
Features:
- all WebLogin features plus
- OpenID authentification and/or local authentification
- possibility to create automatically users in MODx when authenticate by an OpenID server
- possibility to add the created user to a specified web user group
There is no email validation while registering automatically because it should already be done by the OpenID server.
weblogin
For those who want only use new snippet parameters and options (localization)
websignup
Some additional options: email validation, localization
TODO:
- add a trusted list of OpenID server (because everyone can build one, that the power and the weakness of OpenID).
- add additional snippets to modify password and other profile info.
Very quick documentation
The zip file contains all needed files. Extract them in a new openidlogin folder in the snippets folder (base_url/assets/snippets/openidlogin).
- Files named *.php are the snippets: open them and copy their content in new snippets. Snippets names may be files names (without .php).
- Files named *.tpl are some chunk examples
- Files in lang folder are localization files
- Other files (*.inc.php in main folder, *.php in subfolders) contain processing.
This is really cool winceofr !
Nice contrib there

Off to downloading !
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
Thanks for the snippet.
I have been looking for an openid implementation.
Would you be able to give some instructions on how to install and use this snippet?
Thank you so much.
Hi Guys,
I’m an Orange France customer and just discovering OpenID.
This is really great and I’m trying to set it up on my modx site. Unfortunately for some reason nothing happen when I try to login using my OpenID login.
I have a Registred user group and use snippet call like this :
[[openidlogin? &loginhomeid= `48` &openidoption=`1` &openidautomatic=`1` &openidautogroup=`Registered`]]
Any clue ?
ps: I have tryed Simon login with my OpenID key and it’s working perfectly ! (Great site by the way Simon).
Any updates to this project???