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

Python OAuth Consent Issues - Bypass?

ANSWERED

I've been trying to build a python script that will connect to my own fitbit account and extract information.

 

I set up an app, have tried fitbit and python-fitbit, and even took a few stabs at urllib and python-requests...

 

but it seems that Im always blocked by the 'consent' piece of this process...

 

can i bypass this? Im not in a web browser...

 

basically.. i want a self contained script that returns some sort of authed feature JSON.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

... i found a workaround.

 

 

Im executing python from SQL. Yep.. SQL is executing dynamically generated python...

 

I had to use jupyter notebook to run my script initially with a year expiry just so sql would get the appropriate auth/refresh, and saved those to a file.. now im good.

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

... i found a workaround.

 

 

Im executing python from SQL. Yep.. SQL is executing dynamically generated python...

 

I had to use jupyter notebook to run my script initially with a year expiry just so sql would get the appropriate auth/refresh, and saved those to a file.. now im good.

Best Answer
0 Votes