Page MenuHomePhabricator

OAuth extension should display clear error messages when the wrong protocol version is used
Open, Needs TriagePublic

Description

  • Apparently if you are using an OAuth 2 consumer and library to connect to the OAuth 1 endpoint, you get An error occurred in the OAuth protocol: Invalid signature which is confusing (although technically correct). It would be nice to check whether the consumer is appropriate for the endpoint before validating the signature.
  • Special:OAuth displays mwoauthserver-bad-consumer ("not approved as a Connected App") when the registered and actual protocol version do not match.

Event Timeline

Tgr renamed this task from OAuth extension should check consumer before validating signature to OAuth extension should display clear error messages when the wrong protocol version is used.Feb 13 2020, 7:20 PM
Tgr updated the task description. (Show Details)