Skip to content

PLAINTEXT signature method doesn't seem to work #76

Closed
@infin8x

Description

@infin8x

Signature method types besides HMAC-SHA1 seem to be broken, throwing an UnknownSignatureMethod.

See here for one description of the issue.

My code that also encounters this issue:

session[:oauth] ||= {}
consumer_key = '<key removed>'
consumer_secret = '<secret removed>'

@consumer ||= OAuth::Consumer.new(consumer_key, consumer_secret, {:site => "https://app.smartfile.com", :signature_method => "PLAINTEXT"})
@request_token = @consumer.get_request_token(:oauth_callback => "http://#{request.host}/auth")

The error output from Sinatra looks like this: Capture

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions