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

unable to get authentication code when integrated in ios using objective c

i have registered my app in fitbit and i got client id ,secret key ,redirect url as given below

OAuth 2.0 Client ID

22DFL2

 

Client Secret

22db8fc2967f6a077aeeba4c8ed20037

 

Callback URL

https://secureone.anvayaa.com/testAnvayaaARS

 

when i login with my credentials its redirecting to the above url in the app but we are not getting any authentication code neither hitting open url in app-delegate  .i have also given url scheme  as redirect url .

 

may i know what is the exact problem ,Please help me. i am struck in this problem from many days

 
 
 
 
 
Best Answer
0 Votes
1 REPLY 1

Hi @kshilpa

 

When the user is redirected to https://secureone.anvayaa.com/testAnvayaaARS, the authorization code should be embedded in the URL during redirect.   It should look similar to this

 

https://secureone.anvayaa.com/testAnvayaaARS/code=12abc645b9f07f4117f7ca7a9a95c68d3011739e#_=_

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