What happened to the OPENID plugin?

I saw it got deleted in trac somewhere.

Why?

  • Thank you Ruben --- your advice:

    I had to update the openid php library to the latest stable 2.1.3 version and then it worked!

    was exactly the problem.

    Actually what fixed it for me was to remove the openid php library and "apt-get install php-openid".   I think my problem may have been a conflict between the version of the library ubuntu bundled and the one this plugin bundled.

    Now that I did it, I'm wondering how might I publish an updated plugin?

  • Glad I could be of help, my post was nearly a year old ;-)

  • ramayer - I'm happy to accept revised code. PM me and I will send you my email address.

  • Here we use elgg 1.7.7 and it seemed that the plugin was not working correctly anymore: White page for the admin settings and for the users a message like you have to login to perform this action, which was a bit weired if you want to login and you have to be already logged in ;-).

    However, after I started debugging and rewriting the code of the openid-library I came up with a much simpler solution, which works for me so far (at least tested with an own openid sever, and google openid and blogger open id)

    1. I replaced the models/Auth with the latest version of the php-openid (v2.2.2 for php 5: http://www.janrain.com/openid-enabled).

    2. Changed this from false to true (within the start.php):
    register_action("openid_client/missing",true,$CONFIG->pluginspath . "openid_client/actions/missing.php");

    3. Changed this in the models/model php from require_once (dirname(__FILE__).'/Auth/OpenID/HMACSHA1.php'); to require_once (dirname(__FILE__).'/Auth/OpenID/HMAC.php');

    4. afterwards run the http://your-elgg.org/upgrade.php

    and it should work again. Let me know, if it works for you.

  • One more observation. It seems to be crucial to use the right URL of the login page for the login with OpenID. For example, we allowed http://teleurope.eu and http://www.teleurope.eu. The admin settings were set to the URL with www. If people tried to login coming to the page without www they could not login in. Only, if they used the one with www. A redirect directive in the .htaccess solved the problem.

  • I would really like to see a revised OpenID client released.

  • Thomas Ullmann's upgrade instructions seem very clear. Why not use those for now?