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

Obtaining Google token #3

Open
giacomotorricelli opened this issue Jul 26, 2015 · 1 comment
Open

Obtaining Google token #3

giacomotorricelli opened this issue Jul 26, 2015 · 1 comment

Comments

@giacomotorricelli
Copy link

(env)root@jack-Inspiron-7720:~/fitsync# python auth_google.py 945460957778-lenmpnn14rjpmmsacr3822q1lckk10d5.apps.googleusercontent.com AIzaSyC-aYOzC0N6J8f_HIKD9J57UPoAKSdY7S0 https://www.googleapis.com/auth/fitness.body.write --noauth_local_webserver
Your browser has been opened to visit:

https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Ffitness.body.write&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2F&response_type=code&client_id=945460957778-lenmpnn14rjpmmsacr3822q1lckk10d5.apps.googleusercontent.com&access_type=offline

If your browser is on a different machine then exit and re-run this
application with the command-line parameter

--noauth_local_webserver

[0726/200023:ERROR:nss_util.cc(94)] Failed to create /home/jack/.pki/nssdb directory.

@kisuo
Copy link

kisuo commented Sep 4, 2015

I fixed same issue with creating the client key in Google API with the type of Other (or Desktop).
It didn't worked when I created key as Web or Android type.

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

2 participants