Mozilla::Persona - Mozilla's Persona framework
# See Mozilla::Persona::Server
Warning! this is very new code, and is not yet in a production environment (as far as I know) Please help me improve and extend it! I promise to respond quickly on reported bugs.
Persona allows you to sign-in to web-sites proving your identity via your personal domain. No-one can spoof your account name (email address) and you only type-in your password once after starting the browser, reusing it for multiple websites.
Your identity is represented by your email address, for example
firstname.lastname@example.org, which should also be (one of) your public e-mail addresses. You have to put some configuration files on the secure webserver (
https://example.com) of that domain.
This distribution on CPAN implements the server side, your identity. Every domain needs to implement this code. It is not easy and you need to have an https server running.
You may have multiple domains on your system. Each can run a separate persona service. This distribution contains a script named 'persona', to help you configure domains correctly.
# initialize persona service persona setup \ --domain example.com \ --docroot /var/srv/html/ \ --secrets /etc/persona # default # shorter, minimal # persona setup -d example.com -r /var/srv/html
persona check email@example.com
The checking helps you through the first configuration problems.
When you run a CMS, you may need to implement some (Apache) configuration tricks. Use a pseudo docroot outside your website. Configure a rewrite for
/persona/ to the pseudo docroot.
(Who contributes me with a working example?)
This module is part of Mozilla-Persona distribution version 0.12, built on November 22, 2012. Website: http://perl.overmeer.net. The code is based on the MulkyID code by Matthias Benkard.
Persona is described at http://www.mozilla.org/persona/
Copyrights of the perl code and the related documentation by 2012 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html