Permalink
Browse files

Update URL of verifier and include.js in code

  • Loading branch information...
1 parent a8c15f8 commit 95c10142c79943b03bd44ab3579805061f4e79ea @fmarier fmarier committed Feb 13, 2013
Showing with 8 additions and 8 deletions.
  1. +2 −2 Demos/index.html
  2. +3 −3 Demos/login.class.php
  3. +3 −3 Source/login.class.php
View
@@ -25,7 +25,7 @@
<!--put the scripts in the bottom like a good front ender would-->
<!-- Check for support for browserid in the browser, fallback to loading the polyfill -->
-<script>navigator.id || document.write('<script src="//browserid.org/include.js"><\/script>')</script>
+<script>navigator.id || document.write('<script src="https://login.persona.org/include.js"><\/script>')</script>
<!-- Load jquery from google's CDN + fallback - stolen from h5bp.com-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.8.3.min.js"><\/script>')</script>
@@ -40,4 +40,4 @@
});
</script>
</body>
-</html>
+</html>
View
@@ -8,7 +8,7 @@ class BrowserID {
/**
* The browserID's assertion verification service endpoint
*/
- const endpoint = 'https://browserid.org/verify';
+ const endpoint = 'https://verifier.login.persona.org/verify';
/**
*
@@ -149,7 +149,7 @@ private function _requestPOST($url, $data) {
* 2)email mergesortv@gmail.com
* 3)audience https://mysite.com
* 4)expires 1308859352261
- * 5)issuer "browserid.org"
+ * 5)issuer "login.persona.org"
*/
public function verify_assertion() {
@@ -178,4 +178,4 @@ public function verify_assertion() {
}
}
-?>
+?>
View
@@ -8,7 +8,7 @@ class BrowserID {
/**
* The browserID's assertion verification service endpoint
*/
- const endpoint = 'https://browserid.org/verify';
+ const endpoint = 'https://verifier.login.persona.org/verify';
/**
*
@@ -149,7 +149,7 @@ private function _requestPOST($url, $data) {
* 2)email mergesortv@gmail.com
* 3)audience https://mysite.com
* 4)expires 1308859352261
- * 5)issuer "browserid.org"
+ * 5)issuer "login.persona.org"
*/
public function verify_assertion() {
@@ -178,4 +178,4 @@ public function verify_assertion() {
}
}
-?>
+?>

0 comments on commit 95c1014

Please sign in to comment.