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

Newbie looking for guidance

Hello 🙂 I'm a 2nd year software engineering undergraduate. I'm making a website using JAVA where users can register and create accounts (its a JAVA DYNAMIC WEB PROJECT).

What I want to do: 

1) If a registered user has a fitbit - I want them to integrate it with his account so I can get his data to the websites database and use it to give them fitness tips/ meal tips/ progress reports etc.

 

I want to know:

1) Where should I start from?(the website is almost completed, only fitbit thing has to be done)

2) Do I NEED to make my OWN  native fitbit APPLICATION to get access to user data?

3) Actually Im lost please help 😞

Best Answer
0 Votes
4 REPLIES 4

https://dev.fitbit.com/build/reference/web-api/

Peter McLennan
Gondwana Software
Best Answer

what should be my app type? Server, client or personnel? I'm not creating a downloadable app, it's in a website

Best Answer
0 Votes

@Gondwana Thanks for the help!

 

Hi @shimii,

 

According to Auth0's documentation, it looks like either the Authorization Code Grant with PKCE flow or Implicit Grant Flow should suit your needs.

 

When you have the chance, take a look at our documentation for both of these authorization flows:

In the meantime, let me know if you have any questions. I hope this helped!

Best Answer

Thank You very much for the lead, it helped me alot 🙂 I learnt that I need to follow the "Authorization Code Grant Flow"(without PKCE) because im using only a web service and I found some libraries suitable for that in here.

 

And from what I understood I'm supposed to use a "Client Side" library. So I'm left with the options "oauth2-essentials" and "Google OAuth Java Client" because I'm not using any FRAMEWORK.

 

And my issue now is that I don't understand how to use either one of these libraries in my project. I tried adding the folder as an external library to my Eclipse JAVA Dynamic Web Project, but it showed me errors when I imported the packages.

 

I'd appreciate if you can take some time to help me out on this. Again Thank You very much for the previous answer, it was massively helpful ❤️

Best Answer
0 Votes