I've experienced the following problem: a bad server response from Twitter returning an error HTML caused a MultiJson::DecodeError exception to be raised in OmniAuth::Strategies::Twitter#user_hash. The exception passed uncaught and caused a server error. Perhaps it would be good to catch that somewhere and call #fail! ?
Catch JSON parsing errors in OAuth strategies. Closed by 99d0fad
Catch JSON parsing errors in OAuth strategies. Closes #158