Support for Twitter's reverse authentication #153

wants to merge 3 commits into


None yet
4 participants

erand commented Jul 21, 2013

Adds support for
This change tweaks the OAuth.getOAuthRequestToken as follows:

  1. if {x_auth_mode: 'reverse_auth'} parameter is passed in as extraParams, then the callback parameter is not included with the request.
  2. the callback passes a 5th parameter which is the complete unparsed raw data received, since that whole string is required as-is for step two on the device.

I've also updated the readme file with an example and added a test. This does not break regular authentication.

+1 (thanks erand !)

@erand this works great, thanks so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment