openid/python-openid

The example consumer/ server only ever responds with "OpenID transaction in progress"

simondrabble opened this issue · 1 comments

Following the examples README, I only ever receive a bunch of HTML and the message in the title. This is the full output as displayed in my browser.

<html>
<head>
  <title>OpenID transaction in progress</title>
</head>
<body onload="document.forms[0].submit();">
<form id="openid_message" action="http://localhost:8000/openidserver" method="post" accept-charset="UTF-8" 
enctype="application/x-www-form-urlencoded"><input type="hidden" name="openid.ns" value="http://specs.openid.net/auth/2.0" /><input type="hidden" name="openid.realm" value="http://localhost:8001/" /><input type="hidden" 
name="openid.mode" value="checkid_setup" /><input type="hidden" name="openid.return_to" value="http://localhost:8001/process?janrain_nonce=2021-04-28T15%3A12%3A30Zme7GFH" /><input type="hidden" name="openid.identity" 
value="http://localhost:8000/id/jeff" /><input type="hidden" name="openid.claimed_id" value="http://localhost:8000/id/jeff"
 /><input type="hidden" name="openid.assoc_handle" value="{HMAC-SHA1}{NUMBERS}{STUFF}" /><input type="submit" value="Continue" /></form>
<script>
var elements = document.forms[0].elements;
for (var i = 0; i < elements.length; i++) {
  elements[i].style.display = "none";
}
</script>
</body>
</html>

Steps:

python consumer.py
python server.py # in separate terminal

Visit http://localhost:8001 in firefox.

Enter http://localhost:8000/id/jeff in input box, and click Verify

Observed: as above

Expected: the login page as described in the README.