Openid plugin
From b2evolution manual
The OpenID Plugin provides OpenID authentication for b2evolution.
Contents |
[edit] Consumer
You can use your OpenID (e.g. http://daniel.hahler.de/) to register, login or comment on a blog where the plugin is installed.
[edit] Provider
It is planned to also act as an OpenID provider (so that you can use your blog as an OpenID directly), but that has no high priority, because you can use your URL already through delegation. E.g. get your OpenID at http://myopenid.com/ and then delegate there from your blog by adding the following line's into your skin's _main.php file:
If your OpenID provider supports XRDS, you can (but don't have to) add the following snippet at the top of your skin, before any output:
<?php
// Send XRDS header (OpenID 2.0):
header( 'X-XRDS-Location: http://YOURLOGIN.myopenid.com/xrds' );
// Test if this was a discovery request (and we can exit here):
if( isset($_SERVER['HTTP_ACCEPT']) && $_SERVER['HTTP_ACCEPT'] == 'application/xrds+xml' )
{
exit('<!-- Note: X-XRDS-Location: http://YOURLOGIN.myopenid.com/xrds sent.-->');
}
?>
In the HTML HEAD section add the following snippet:
<link rel="openid.server" href="http://www.myopenid.com/server" /> <link rel="openid.delegate" href="http://YOURLOGIN.myopenid.com/" />
For OpenID 2.0, which most providers should support nowadays, add:
<link rel="openid2.provider" href="http://www.myopenid.com/server" /> <link rel="openid2.local_id" href="http://YOURLOGIN.myopenid.com/" />
For more information about delegation, see http://wiki.openid.net/Delegation.
Delegation does work with every OpenID provider, not just MyOpenID. You can find a list of OpenID providers at [1]. Chances are given that you already have an OpenID, e.g. through AOL or LiveJournal.
[edit] Location
The plugin's source is hosted in the PluginsRepository at: http://evocms-plugins.svn.sourceforge.net/viewcvs.cgi/evocms-plugins/openid_plugin/.
You can download release packages at the download page.
[edit] Requirements
This plugin requires b2evolution 1.10 or later.
