diff options
Diffstat (limited to 'module/consumer.cc')
-rw-r--r-- | module/consumer.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/module/consumer.cc b/module/consumer.cc index cbdcfe3..c750771 100644 --- a/module/consumer.cc +++ b/module/consumer.cc @@ -570,7 +570,13 @@ sid_consumer_authenticate(sid_request_t *req, sid_storage_t *store, assert (req); - const char *qs = sid_request_qs (req); + const char *qs; + + if (strcmp (sid_request_method (req), "POST") == 0) + qs = sid_request_form (req); + else + qs = sid_request_qs (req); + parse_query_string (qs, params); filter_prefixed_params (params, openid, "openid."); |