zenhob / hcl

Command-line tool for manipulating Harvest timesheets
http://zenhob.github.io/hcl
MIT License
223 stars 45 forks source link

Support using Personal Access Tokens instead of plain text password storing #97

Open G-Rath opened 5 years ago

G-Rath commented 5 years ago

This should also solve #94

https://help.getharvest.com/api-v2/authentication-api/authentication/authentication/

mkarnicki commented 4 years ago

I don't think it will resolve #94 - I created a personal access token on an account within an org that has Google Login enabled - I can only access my user info via the API, all other endpoints return HTTP 403.

fwolfst commented 2 years ago

I don't think it will resolve #94 - I created a personal access token on an account within an org that has Google Login enabled - I can only access my user info via the API, all other endpoints return HTTP 403.

Pretty sure I have another experience, but will have to evaluate. Plaintext password is a no-go here unfortunately, too.

fwolfst commented 2 years ago

Unfortunately personal (non-oauth) access tokens are not supported in v1 of the harvest API that is used by this gem.