Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Example consumer works only if authentication response is GET method #22

Open
jablko opened this Issue · 0 comments

1 participant

@jablko

The example consumer falls down if the OP sends an authentication response to the RP with POST method

In that case the example consumer reports 501 error: Unsupported method (POST)

This is because a ".do_POST()" isn't defined in examples/consumer.py

What happens is, you start the example consumer, enter an OpenID, send authentication request to OP, OP sends authentication response back to consumer. Authentication response is an indirect response - if the HTTP method is POST vs. GET, the consumer reports 501 error

I think the correct behavior is for the consumer to process the authentication response, like it processes the authentication response if the HTTP method is GET vs. POST. It should report that authentication succeeded or failed, like it does if the HTTP method is GET vs. POST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.