OAuth::Problem (parameter_absent)

后端 未结 2 1292
长情又很酷
长情又很酷 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:37

    I has similar problem and was wondering what is wrong. Finally got to know that I forgot to set the Environment variable on the production server that was serving the keys/secrets.

    Not sure that this is the same case with you, I would recommend you to check the env vars if you are using them.

    0 讨论(0)
  • 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
    0 讨论(0)
提交回复
热议问题