Dev OpenID
From Dreamwidth Notes
Things To Do
- I&I: Separate OpenID identities for purposes of comment screening, etc
- I&I: Improve OpenID identity friending
- Allow LJ accounts to associate an OpenID
- Allow OpenID accounts to upgrade to a regular account
- Start requesting email and nick information, etc, from the provider when logging in to automatically fill fields
- The OpenID library has been upgraded to 2.0: http://code.sixapart.com/trac/openid/ and http://code.sixapart.com/svn/openid/ . We'll need to make sure our end is updated to this library and functioning.
- Should maintainers be able to authenticate as a community's OpenID?
Associated OpenID code
$LJ::IMGPREFIX/openid-profile.gif
This will get you the wee little OpenID profile icon.
ljconfig.pl
Configuration variables that enable or disable server and consumer support.
-
$OPENID_SERVER -
$OPENID_CONSUMER
$LJ::SITEROOT/cgi-bin/LJ/OpenID.pm
$LJ::SITEROOT/cgi-bin/Net/OpenID/
$LJ::SITEROOT/cgi-bin/ljdefaults.pl
- Sets the location of the OpenID server to
$LJ::SITEROOT/openid/server.bmlif$OPENID_SERVERis set to 1.
$LJ::SITEROOT/cgi-bin/talklib.pl
$LJ::SITEROOT/cgi-bin/ljviews.pl
Appears to put the OpenID autodiscovery information in the head:
$lastn_page{'head'} .= $u->openid_tags;
$LJ::SITEROOT/cgi-bin/ljfeed.pl
create_view_foaf
The function create_view_foaf sets OpenID attributes for the user, but not a community:
$ret .= " <foaf:openid rdf:resource=\"" . $u->journal_base . "/\" />\n" unless $comm;
create_view_yadis
The function create_view_yadis enables YADIS capability discovery.