OpenID Implementation

From Dreamwidth Notes
Revision as of 06:11, 28 August 2010 by Foxfirefey (Talk | contribs)

Jump to: navigation, search

Basics:

  • cgi-bin/LJ/OpenID.pm
  • cgi-bin/LJ/OpenID/Cache.pm
  • htdocs/openid/*
  • create_view_yadis in cgi-bin/ljfeed.pl

Consumer

This is the part of OpenID that lets users from other sites log into Dreamwidth and maintain an OpenID account.

  • cgi-bin/LJ/OpenID.pm
  • htdocs/openid/login.bml

Server

This is the part of the OpenID implementation that lets Dreamwidth users log into other sites using OpenID.

  • htdocs/openid/server.bml

Database

YADIS

This is a file that other OpenID consumers use when trying to detect our OpenID server when our users are logging into their servers.

  • create_view_yadis in cgi-bin/ljfeed.pl

Requirements

This ability requires the Perl OpenID module, supporting 2.0, such as version 1.02. (The default version in Ubuntu 8.04, 0.13, is not sufficient.)

TODO LIST

  • Add canonical identifiers and local identifiers; make it so renamed accounts don't get access to previous OpenID sign ins
  • Add the ability for people to attach OpenIDs to their account and manage them
  • Add the ability to merge an OpenID account into a Dreamwidth account or upgrade using an invite code