Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it does not work properly for fitbit #215

Open
phiren opened this issue Nov 23, 2016 · 1 comment
Open

it does not work properly for fitbit #215

phiren opened this issue Nov 23, 2016 · 1 comment

Comments

@phiren
Copy link

phiren commented Nov 23, 2016

I have used it for fitbit integration, but it has issue of refreshing token automatically, On fitbit server, it only allows to refresh token one time, any other call will result in invalid refresh token.

Due to it internally calling refresh token method, it caused invalid refresh token issue, because in my app there are multiple call on fitbit, and if it resulted in all calls, it tries to refresh token multiple time and result in invalid refresh token issue.

@phiren
Copy link
Author

phiren commented Nov 24, 2016

@toto , is there any way to disable that automatic refreshing of token?
the reason i want to disable is, my app is logging water to fitbit. For each record entry it uses NSOperation subclass to process. My app have integration of Today widget and also the Apple watch, so whenever any data comes from today widget or apple watch - multiple records, i have to insert records simultaneously and it causing multiple time token refresh which result in invalid refresh token issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant