Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update URL of verifier and include.js in code
  • Loading branch information
Francois Marier committed Feb 13, 2013
1 parent a8c15f8 commit 95c1014
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Demos/index.html
Expand Up @@ -25,7 +25,7 @@ <h1>Demo for jquery-browserID plugin</h1>
<!--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>
Expand All @@ -40,4 +40,4 @@ <h1>Demo for jquery-browserID plugin</h1>
});
</script>
</body>
</html>
</html>
6 changes: 3 additions & 3 deletions Demos/login.class.php
Expand Up @@ -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';

/**
*
Expand Down Expand Up @@ -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() {

Expand Down Expand Up @@ -178,4 +178,4 @@ public function verify_assertion() {
}
}

?>
?>
6 changes: 3 additions & 3 deletions Source/login.class.php
Expand Up @@ -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';

/**
*
Expand Down Expand Up @@ -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() {

Expand Down Expand Up @@ -178,4 +178,4 @@ public function verify_assertion() {
}
}

?>
?>

0 comments on commit 95c1014

Please sign in to comment.