Permalink
Browse files

Update URLs for BrowserID -> Mozilla Persona rebrand

  • Loading branch information...
1 parent c5e175f commit 786302d160e1c715973ff29b484af414b6049c12 @jbuck jbuck committed Jul 13, 2012
Showing with 4 additions and 4 deletions.
  1. +3 −3 README.md
  2. +1 −1 lib/express-browserid.js
View
@@ -1,7 +1,7 @@
## Overview
-This is a set of helper code that intends to make using [BrowserID](https://browserid.org/) easier
+This is a set of helper code that intends to make using [BrowserID](https://login.persona.org/) easier
from inside an Express application. I slapped it together because as I started integrating BrowserID
support into one of my project, I realised that while there were great pieces of code as well as
documentation and examples, most of them using NodeJS already, a decent amount of assembly was
@@ -39,8 +39,8 @@ parser:
## Usage (Client)
-Include the following script anywhere after having included jQuery and
-https://browserid.org/include.js.
+Include the following script anywhere after having included jQuery and
+https://login.persona.org/include.js.
<script src="/browserid/js/browserid-helper.js" data-debug="true" data-csrf="deadbeef"></script>
View
@@ -27,7 +27,7 @@ exports.plugVerifier = function (app, opts) {
var route = opts.verifierPath || makePath("/verify", opts);
app.post(route, function (req, res, next) {
// this code "stolen" from the BrowserID project
- var reqParam = url.parse(opts.verifier || "https://browserid.org/verify");
+ var reqParam = url.parse(opts.verifier || "https://verifier.login.persona.org/verify");
reqParam.method = "POST";
var vreq = https.request(reqParam, function (vres) {
var body = "";

0 comments on commit 786302d

Please sign in to comment.