Skip to content
This repository was archived by the owner on Nov 23, 2024. It is now read-only.
This repository was archived by the owner on Nov 23, 2024. It is now read-only.

OAuth::Unauthorized Error #77

@abhishek77in

Description

@abhishek77in

I have setup my rails app as documented.

I am testing the code in rails console and finding error:

consumer = Dropbox::API::OAuth.consumer(:authorize)
=> #<OAuth::Consumer:0x00007fba5fb340b8 @key="XXXXX", @secret="XXXX", @options={:signature_method=>"HMAC-SHA1", :request_token_path=>"/1/oauth/request_token", :authorize_path=>"/1/oauth/authorize", :access_token_path=>"/1/oauth/access_token", :proxy=>nil, :scheme=>:header, :http_method=>:post, :oauth_version=>"1.0", :site=>"https://www.dropbox.com"}>

request_token = consumer.get_request_token
OAuth::Unauthorized (400 Bad Request)

I am confused as I am following the README. Not sure about if I am making a mistake somewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions