08-15-2021 13:06
08-15-2021 13:06
I am following the Authorization Code Grant Flow with PKCE. I've checked over all of my steps several times, and as I've mentioned as a response to another post, I am very sure that I'm hashing and encoding the code verifier correctly : When I tried hardcoding the code_verifier as the example '01234567890123456789012345678901234567890123456789' I get the correct code challenge as shown in the example (which I checked by printing it out). And I also receive the following error from fitbit: 'Authorization code verifier invalid: 01234567890123456789012345678901234567890123456789'. I'm not sure what I'm doing incorrectly here, and I've been struggling with this issue for over a week now. So please please let me know if you have any advice or would know what things I should also triple check to make sure I'm calling the /oauth2/token end point correctly. Thank you so much for your help, in advance :)!
08-20-2021 12:30
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.
08-22-2021 17:03
08-22-2021 17:03
Hi @JohnFitbit, , I'm unable to private message you. I do not see the option on your profile page. Is there another way to send the Client ID to you?
Best Answer
08-24-2021
20:20
- last edited on
08-26-2021
15:53
by
JohnFitbit
08-24-2021
20:20
- last edited on
08-26-2021
15:53
by
JohnFitbit
I am following the Authorization Code Grant Flow, i just can not open this Link for code:
{REDACTED}
Best Answer08-26-2021 16:15
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.
08-26-2021 16:15
@ssshar It looks like you had PM disabled in your settings. We temporarily removed it so you can send me the info. Click my name and you should see a "Send Message" button in the following page.
@xiaofang Are you experiencing the same issue? I also removed your authorization url as it displayed your Client ID to the public. If you are experiencing this issue as well, please PM me your Client ID also.
Best Answer12-01-2021 11:05
12-01-2021 11:05
Hi @JohnFitbit I'm not sure if this is the appropriate way to ask this, but I'm also having the same error as the OP on this post. I confirmed that my encoding was producing the same result as the example in https://dev.fitbit.com/build/reference/web-api/developer-guide/authorization/. I also confirmed that I don't have a typo in the code_challenge_method or any of the other problems that others seem to have had.
I would love any input you could give. Thank you.
Best Answer