-
Notifications
You must be signed in to change notification settings - Fork 68
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
Authorize URL should not be under api.fitbit.com #38
Comments
Hello, I'm the API lead at Fitbit. I can confirm that the OAuth 1.0a authorization URL should use www.fitbit.com. I know many developers have used Fitgem and this change would be valuable to them for the reasons above. |
Apologies- work has been hectic lately. I'll get PR #39 merged and see if I can cut a new gem version tonight. |
Damn my laziness- the docs said it plainly: authorize only hits www.fitbit.com. Ok. |
Closed by #39 |
According to the Fitbit documentation, in order for the users to authorize the client application, users should be redirected to:
https://www.fitbit.com/oauth/authorize?oauth_token=[&locale=][&display=touch][&requestCredentials=true]
With the current configuration, it seems like users are being redirected to https://api.fitbit.com/oauth/authorize.
According to fitbit support, there are two reasons to use the non-api URL:
The text was updated successfully, but these errors were encountered: