Browse files

Merge pull request #12 from peterbe/update-browserid-to-persona-urls

updating deprecated URLs
  • Loading branch information...
2 parents 9be3617 + 674da8c commit 1cc834b857ee94a1a7a47d775a665d862554c941 @fmarier fmarier committed Oct 30, 2012
View
2 python/django/example/browserid/templates/index.html
@@ -4,7 +4,7 @@
<head>
<meta charset="utf-8" />
<title>django browserid example</title>
- <script src="https://browserid.org/include.js"></script>
+ <script src="https://login.persona.org/include.js"></script>
<script>
function login() {
navigator.id.get(function(assertion) {
View
2 python/django/example/browserid/views.py
@@ -11,7 +11,7 @@ def status(request):
assertion = request.POST['assertion']
try:
- page = requests.post('https://browserid.org/verify',
+ page = requests.post('https://verifier.login.persona.org/verify',
verify=True,
data={ "assertion": assertion,
"audience": audience})
View
2 python/web.py/browserid.py
@@ -21,7 +21,7 @@ def POST(self):
i = web.input()
try:
- page = requests.post('https://browserid.org/verify',
+ page = requests.post('https://verifier.login.persona.org/verify',
verify=True,
data={ "assertion": i.assertion,
"audience": audience})
View
2 python/web.py/templates/index.html
@@ -4,7 +4,7 @@
<head>
<meta charset="utf-8" />
<title>web.py browserid example</title>
- <script src="https://browserid.org/include.js"></script>
+ <script src="https://login.persona.org/include.js"></script>
<script>
function login() {
navigator.id.get(function(assertion) {

0 comments on commit 1cc834b

Please sign in to comment.