diff --git a/rp/index.html b/rp/index.html index 38661544ceb44f59327c9d0c50fc0700952335a1..c331e8d58d716dd651378ab10807d5f467bf5129 100644 --- a/rp/index.html +++ b/rp/index.html @@ -102,11 +102,11 @@ a:hover { border-bottom: 2px solid black ; } } else { // Now we'll send this assertion over to the verification server for validation $("#oAssertion").empty().html(dumpObject(assertion)); - + var url = "http://browserid.org/verify?assertion=" + window.encodeURIComponent(assertion) + - "&audience=" + window.encodeURIComponent("rp.eyedee.me"); + "&audience=" + window.encodeURIComponent(window.location.host); $("#oVerificationRequest").empty().text(url); - + $.ajax({ url: url, success: function(data, textStatus, jqXHR) {