Opened 8 years ago

Closed 8 years ago

#1066 closed defect (fixed)

Dianara gets "Invalid Oauth parameter" when passing 'count' or 'offset' params

Reported by: JanKusanagi Owned by:
Priority: major Milestone: 0.8.0
Component: programming Keywords: api, client, feeds, parameters, oauth
Cc: Jessica Tallon Parent Tickets:


When trying to fetch a feed from Dianara, like /inbox/major it works great.
However, if Dianara adds parameters to the call, like 'count' to get more activities in one go (the url then being like "/inbox/major?count=30", the server returns "{"error": "Invalid oauth prarameter."}".

I'm unsure if there is something Dianara is not doing right, but this works ok with servers.

The OAuth header is generated by QOAuth. I know that, when adding those parameters to the call, those are reflected not only as part of the URL, but as fields in the Authorization header, for some reason.

Maybe that's what's confusing GMG? The fact that there are unexpected values in the Authorization header.


Change History (5)

comment:1 Changed 8 years ago by Jessica Tallon

Milestone: 0.8.0

comment:2 Changed 8 years ago by Jessica Tallon

Owner: set to Jessica Tallon
Status: newin_progress

comment:3 Changed 8 years ago by Jessica Tallon

Owner: Jessica Tallon deleted
Resolution: fixed
Status: in_progressclosed

Fixed in ce1344f.

comment:4 Changed 8 years ago by Jonas Haraldsson

Resolution: fixed
Status: closedaccepted

Reopening this one as i'm experiencing this bug in 0.8.0, reverting the fix makes it work as expected.

comment:5 Changed 8 years ago by Jessica Tallon

Resolution: fixed
Status: acceptedclosed

This has been fixed as of 3b4ad55, please re-open if you're still experiencing this problem.

Note: See TracTickets for help on using tickets.