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

Trying to get access to user's fitbit data #128

Open
HimavarshaVS opened this issue Sep 22, 2021 · 0 comments
Open

Trying to get access to user's fitbit data #128

HimavarshaVS opened this issue Sep 22, 2021 · 0 comments

Comments

@HimavarshaVS
Copy link

Hi,
I have been trying to get access from user by logging into user's fitbit account thereby i can land on consent page (where user can grant access to different scopes)

I changed resource-server.env file to have all required details for fitbit shim (client id, client secret).
I am always getting `The app you're trying to connect did not provide valid information to Fitbit. Please report this issue to them.

Developer information: invalid_request - Invalid redirect_uri parameter value`

my redirect_uris in resource-server.env and fitbit dev app are exactly the same.
After I analyzed the network tab of fitbit login page , query params are like this : client_id=239Z7B&prompt=consent&redirect_uri=https%3A%2F%2F********.*******.org%2Fauthorize%2Ffitbit%2Fcallback&response_type=code&scope=activity+heartrate+sleep+weight&state=CFdNGt

I had tried to resolve this by removing redirect_uri param, but user has to grant access everytime to pull data.
Please help me on this as I have been trying all possible ways and need s solution .

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