Mozilla Persona is a distributed authentication system for the web that lets users sign on using their existing email address without per-site usernames and passwords. It's open, free, will become a standard, and is rigorously supported by the non-profit organziation that strives to make the web better for the humans that use it.
This repository contains a demonstration of persona written in HTML and node.js.
- install git, node and redis
- get a local copy of the repository:
git clone https://github.com/mozilla/123done
- install dependencies:
- run the server:
- visit it in your browser:
- hack and reload! (web resources don't require a server restart)
123done is all set up to deploy quickly and painlessly on amazon EC2 via awsbox.
While full documentation for awsbox is contained within that project, Here is a sample command line that might work for you:
node_modules/.bin/awsbox create \ -u http://123done.org \ --ssl disable \ -n 123done \ -t m1.small \ --keydir $HOME/.persona_secrets/pubkeys/
What do these arguments do?
-uspecifies the public URL of the instance
disableremoves SSL support from the VM
-n 123donesets 123done as a human visible nickname for the VM
-t m1.smallspecifies a cheap VM that has enough oomph to run the service under load (like from automated tests running)
--keydirspecifies a directory where all of the public keys of your colleages reside, so they can administer the VM while you're on vacation.