Closed tomburns closed 10 years ago
Using the debugger to investigate a bit further, I've determined that during the second attempt to authenticate tokenWithQueryString:(NSString *)queryString
is getting called with the queryString @"Invalid OAuth Request"
, which is obviously incorrect and causes the crash.
Tom, thanks for all the debugging info. Sure makes it easier to try and track things down! Also, my apologies for just getting to this issue. Unfortunately, I can't seem to duplicate this at all on my end. Would you mind sharing what OAuth provider you're trying to authenticate with? There's a chance they're doing something that doesn't conform to the RFC in terms of the response on errors. Also, since you're getting the response @"Invalid OAuth Request"
from the server, I'm lead to believe this is related to what I just fixed in Issue #7, in which the previous request token was not being cleared and being sent in the header when you call fetchRequestToken
the second time.
It looks like this (and the 2.1.x issue from yesterday) were both addressed in the latest version. Thanks so much!
I've got a crash which I can reproduce using the following steps:
This occurs even if I call
deauthorize
on the session manager before attempting to log in again. Is there another call I should be making before reattempting the authentication?