browser-id-verify

Verify BrowserID assertion

verify-browser-id-assertion

Verify BrowserID assertion

Install the module with: `npm install browser-id-verify

var verify = require('browser-id-verify');
var opts = {
  assertion: 'somebrowseridassertion',
  audience: 'http://example.org',
  url: 'https://verifier.login.persona.org/verify'
};
verify(opts, function (err, response) {
  if (err) {
    //handle error
  }

  // handle response
});