Skip to content

Plsr/fitbit-cli-water

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fitbit-cli-water

Authenticating

Fitbit requires the callback server to run on https (and rightfully so). In order to do so, we need two files in the root folder of the project:

  • cert.pem
  • key.pem

In order to generate those, run:

openssl req -x509 -newkey rsa:2048 -keyout keytmp.pem -out cert.pem -days 365

and then

openssl rsa -in keytmp.pem -out key.pem

After giving permissions to the app, the redirect will tell you that the certificates are not trusted (since you just generated them youself). Go to advenced and accept the security-risk.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors