Hi,
I am using custom code to communicate with fitbit, using OAuth1.0 for authentication. I am able to get to the point where i can get steps A-E done and G for end points not involving parameters.
I am getting 401 error with "Invalid signature" response, on building the signature with GET parameters.
{"errors":[{"errorType":"oauth","fieldName":"oauth_signature","message":"Invalid signature: M0q/T+b+lBT8XMqhCDyloy2yR7E="}],"success":false}
I have tried to build the signature with and without the parameters in the url part.
(PS: my application does not allow me to use 3p packages)
Quick help is really appreciated.
Answered! Go to the Best Answer.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
The OAuth 1.0a signature is computed with both URL and body parameters precisely per the RFC 5849 protocol. If you cannot use a third-party library, you should examine a third-party library closest to the programming language that you are using and compare each step of the signature creation process using our OAuth 1.0a debug tool.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
The OAuth 1.0a signature is computed with both URL and body parameters precisely per the RFC 5849 protocol. If you cannot use a third-party library, you should examine a third-party library closest to the programming language that you are using and compare each step of the signature creation process using our OAuth 1.0a debug tool.
Best Answer