implement login via browserid / mozilla persona by seafoodbuffet · Pull Request #64 · sahat/hackathon-starter

@seafoodbuffet

Here's the PR related to #63

@seafoodbuffet

@sahat

If you can somehow add Mozilla Persona without modifying main.js - client-side JavaScript file, I will consider metging this PR.

After PR #59 there will be an object in secrets.js that let's you disable or enable authentication methods of your choice. I want Persona sign in to be optional as well.

@seafoodbuffet

Sure, a couple of options.

  1. I could either add a new js file public and have it be referenced as part of application.js
  2. I could insert script elements into only login and profile jade templates.

Do you have a preference?

@sahat

Please refer to Issue #63.