Difference between revisions of "OpenID Implementation"
From Dreamwidth Notes
Foxfirefey (Talk | contribs) |
Foxfirefey (Talk | contribs) |
||
Line 38: | Line 38: | ||
* [http://search.cpan.org/~mart/Net-OpenID-Server/lib/Net/OpenID/Server.pm Server.pm] | * [http://search.cpan.org/~mart/Net-OpenID-Server/lib/Net/OpenID/Server.pm Server.pm] | ||
* [http://search.cpan.org/~mart/Net-OpenID-Consumer-1.03/lib/Net/OpenID/Consumer.pm Consumer.pm] | * [http://search.cpan.org/~mart/Net-OpenID-Consumer-1.03/lib/Net/OpenID/Consumer.pm Consumer.pm] | ||
+ | |||
+ | If you need help installing look at: | ||
+ | |||
+ | * http://dw-dev.dreamwidth.org/10769.html?thread=60689#t60689 | ||
+ | * http://afuna.dreamwidth.org/77223.html | ||
== TODO LIST == | == TODO LIST == | ||
+ | * Get up to OpenID 2.0 standardized | ||
* Add canonical identifiers and local identifiers; make it so renamed accounts don't get access to previous OpenID sign ins | * 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 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 | * Add the ability to merge an OpenID account into a Dreamwidth account or upgrade using an invite code |
Revision as of 17:28, 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.)
If you need help installing look at:
TODO LIST
- Get up to OpenID 2.0 standardized
- 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