Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problems with oauth_callback

ANSWERED

Hello, 

 

I'm having a hard time getting the oauth_callback working within the application that i'm currently developing. 

 

I have a callback url set in the application prefrences and i've also tried setting oauth_callback in the request_token call and in the response I get oauth_callback_confirmed=true, but every time I then grant the user access i'm returned the PIN from fitbit (which works) but i'm never redirected to the oauth_callback page.

 

Any suggestions?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hello.

Please check that in your applications settings in dev.fitbit.fom the [Application Type] is set to web browser.

 

Ivan Bahdanau
Senior Software Developer at Fitbit

View best answer in original post

Best Answer
0 Votes
2 REPLIES 2

Hello.

Please check that in your applications settings in dev.fitbit.fom the [Application Type] is set to web browser.

 

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer
0 Votes

Thanks! This worked for me.

 

I suggest that you update the documentation to make this a little more clear, the only refrence i found was in the section "The user approves the client application. The client application cannot receive redirects. Fitbit shows the verifier to the user on the Fitbit site." 

 

But since this is not a client that cannot receive redirects I didn't even think to check there.

 

Thanks again!

Best Answer
0 Votes