Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'new_urls' of https://github.com/fmarier/browserID-jQuery

…into fmarier-new_urls

Conflicts:
	Demos/index.html
	README.md
  • Loading branch information...
commit bee2745791b027df6cd3e8db38eadd9a928587b4 2 parents 8f61dcd + 95c1014
Alex Wolkov authored February 20, 2013
4  Demos/index.html
@@ -25,7 +25,7 @@
25 25
 <!--put the scripts in the bottom like a good front ender would-->
26 26
 
27 27
 <!-- Check for support for browserid in the browser, fallback to loading the polyfill  -->
28  
-<script>navigator.id || document.write('<script src="https://browserid.org/include.js"><\/script>')</script>
  28
+<script>navigator.id || document.write('<script src="https://login.persona.org/include.js"><\/script>')</script>
29 29
 <!-- Load jquery from google's CDN + fallback - stolen from h5bp.com-->
30 30
 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
31 31
 <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.8.3.min.js"><\/script>')</script>
@@ -40,4 +40,4 @@
40 40
 	});
41 41
 </script>
42 42
 </body>
43  
-</html>
  43
+</html>
4  Demos/login.class.php
@@ -8,7 +8,7 @@ class BrowserID {
8 8
           /**
9 9
            *  The browserID's assertion verification service endpoint 
10 10
            */
11  
-          const endpoint = 'https://browserid.org/verify';
  11
+          const endpoint = 'https://verifier.login.persona.org/verify';
12 12
 
13 13
           /**
14 14
            *  
@@ -150,7 +150,7 @@ private function _requestPOST($url, $data) {
150 150
            *                  2)email    mergesortv@gmail.com
151 151
            *                  3)audience https://mysite.com
152 152
            *                  4)expires  1308859352261
153  
-           *                  5)issuer   "browserid.org"
  153
+           *                  5)issuer   "login.persona.org"
154 154
            */  
155 155
           public function verify_assertion() {
156 156
  
2  README.md
Source Rendered
@@ -14,7 +14,7 @@ How to Use
14 14
 
15 15
 ###Include the BrowserID include.js library in your site by adding the following script tags to your pages:
16 16
 ```
17  
-<script>navigator.id || document.write('<script src="https://browserid.org/include.js"><\/script>')</script>
  17
+<script>navigator.id || document.write('<script src="https://login.persona.org/include.js"><\/script>')</script>
18 18
 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
19 19
 <script src="jquery.browserid.js"></script>
20 20
 ```
4  Source/login.class.php
@@ -8,7 +8,7 @@ class BrowserID {
8 8
           /**
9 9
            *  The browserID's assertion verification service endpoint 
10 10
            */
11  
-          const endpoint = 'https://browserid.org/verify';
  11
+          const endpoint = 'https://verifier.login.persona.org/verify';
12 12
 
13 13
           /**
14 14
            *  
@@ -150,7 +150,7 @@ private function _requestPOST($url, $data) {
150 150
            *                  2)email    mergesortv@gmail.com
151 151
            *                  3)audience https://mysite.com
152 152
            *                  4)expires  1308859352261
153  
-           *                  5)issuer   "browserid.org"
  153
+           *                  5)issuer   "login.persona.org"
154 154
            */  
155 155
           public function verify_assertion() {
156 156
  

0 notes on commit bee2745

Please sign in to comment.
Something went wrong with that request. Please try again.