OAuth::Problem (parameter_absent)

后端 未结 2 1312
长情又很酷
长情又很酷 2021-01-06 19:15

Im working with OAuth 0.3.6 and the linkedin gem for a Rails application and I have this issue where OAuth throws an error saying that OAuth::Problem (parameter_absent). The

2条回答
  •  独厮守ぢ
    2021-01-06 19:47

    The parameter_absent error means that you are not sending all of the required OAuth parameters to the endpoint. For the request token endpoint you need to insure that all of these parameters are present:

    • oauth_consumer_key
    • oauth_signature_method
    • oauth_signature
    • oauth_timestamp
    • oauth_nonce

    For the accessToken endpoint the following parameters are required:

    • oauth_consumer_key
    • oauth_signature
    • oauth_signature_method
    • oauth_token
    • oauth_timestamp
    • oauth_verifier

提交回复
热议问题