0

I got the following error at the second step of Jawbone's OAuth flow (obtaining an access token via server-to-server POST request)

{ "error_description": "Unable to decode: 4/wCoR7RluPGtaJQXhhQToPoH9TqXHRzMBNpFj1mbWTxo", "error": "invalid_request" }

I tried to get the authentication code with different scopes and redirect URI's but everytime I post the code to Jawbone's token endpoint I get this error.

I tried to use cURL and Postman too, no difference here.

Do I miss something?

UPDATE: I found out, that it works with http/https based redirect URI's but I have to use a custom URL scheme like fitisfit://jawboneauth as my app needs to open after the user acceppts the permissions.

Tizian Tizzy Adam
  • 131
  • 1
  • 1
  • 6
  • The Jawbone OAuth flow works with custom URL schemes. Could you provide the request that gives you the error? – RAY Jan 27 '17 at 16:14
  • I found the issue. It was kind of hard to debug. The function that extract's the authentication code from the URI just cutted off the last character from the authentication code, so yeah, Jawbone didn't know that code. Stupid error. – Tizian Tizzy Adam Jan 27 '17 at 17:05
  • Glad you figured it out! – RAY Jan 27 '17 at 18:12

0 Answers0