Skip to content
Mozilla Persona example app with Express and CouchDB
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
routes
views
.gitignore
History.md
Procfile
README.md
app.js
db.js
package.json

README.md

Persona Example App

Built on the shoulder of giants

Demo

Visit mysterious-coast-9759.herokuapp.com to see the app in action. It might take some time to load as it is running on the free dyno.

If you don't want to use your own email (as it is stored in the db temporarily) check out these Identity Providers

Other examples

Take a look at these other resources. They were the foundation and inspiration for my own project. Without them I couldn't have done it! Therefore, thank you!

However, all of the examples were missing some features I'd like to see. These are

  • proper DB implementation
  • CSRF protection
  • Content Security Policy (CSP)
  • avoid global variables
  • use of request module (imho makes code easier to read)
  • simplicity

I tried to take the best features from the examples to create my own app.

I'm sure my example can be improved as well. So if there is anything wrong or you see room for improvements, please open an issue.

More

To read more about this topic see my post Mozilla Persona example app with Express and Couchdb

Test

Coming soon ...

License

Copyright (C) 2013 [Mirco Zeiss](mailto: mirco.zeiss@gmail.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.