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

I added a State Parameter in "Edit the Application" => Redirect URL section. found no state in OAuth

ANSWERED

Hi,

I added a state parameter in the Redirect URL like

Bilal_Iqbal_1-1655970780174.png

 

(http://localhost:50237api/Fitbit/CallBackApiResponse&state=123abc)

Bilal_Iqbal_0-1655970644137.png

 

and next the URL is also without the state.

Anyone here please help me here 

thanks

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi @Bilal_Iqbal 

 

We don't support adding a state parameter in the redirect URL.   And, adding the state parameter in the redirect URL is a mis-use of state.   The authorization URL does support providing the state parameter as part of the URL, instead of the redirect.   See https://dev.fitbit.com/build/reference/web-api/authorization/authorize/.

 

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

View best answer in original post

Best Answer
2 REPLIES 2

Hi @Bilal_Iqbal 

 

We don't support adding a state parameter in the redirect URL.   And, adding the state parameter in the redirect URL is a mis-use of state.   The authorization URL does support providing the state parameter as part of the URL, instead of the redirect.   See https://dev.fitbit.com/build/reference/web-api/authorization/authorize/.

 

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer

Thank you... 

Best Answer
0 Votes