Difference between revisions of "OpenID Implementation"

From Dreamwidth Notes
Jump to: navigation, search
m (added cat)
 
(2 intermediate revisions by one other user not shown)
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
 +
 +
You can use these commands to check for the version number you are using:
 +
 +
perldoc -m Net::OpenID::Server
 +
perldoc -m Net::OpenID::Consumer
  
 
== 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
 +
 +
[[Category: Development]]

Latest revision as of 20:27, 12 August 2015

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.)

If you need help installing look at:

You can use these commands to check for the version number you are using:

perldoc -m Net::OpenID::Server
perldoc -m Net::OpenID::Consumer

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