Difference between revisions of "OpenID Implementation"
From Dreamwidth Notes
Foxfirefey (Talk | contribs) (Created page with " == Consumer == == Server == == Database == == YADIS ==") |
Foxfirefey (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | Basics: | ||
+ | |||
+ | * cgi-bin/LJ/OpenID.pm | ||
+ | * cgi-bin/LJ/OpenID/Cache.pm | ||
+ | * htdocs/openid/* | ||
+ | * create_view_yadis in cgi-bin/ljfeed.pl | ||
== Consumer == | == 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 == | == Server == | ||
+ | |||
+ | This is the part of the OpenID implementation that lets Dreamwidth users log into other sites using OpenID. | ||
+ | |||
+ | * htdocs/openid/server.bml | ||
== Database == | == Database == | ||
+ | |||
+ | * [[Database Table: identitymap]] | ||
+ | * [[Database Table: openid_trust]] | ||
+ | * [[Database Table: openid_endpoint]] | ||
+ | * [[Database Table: openid_external]] | ||
== YADIS == | == 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 |
Revision as of 06:04, 28 August 2010
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
- Database Table: identitymap
- Database Table: openid_trust
- Database Table: openid_endpoint
- Database Table: openid_external
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