octonode
octonode copied to clipboard
Improve the CLI auth logic
These are changes I needed for creating a desktop application using this library:
- Provide
client_id
,client_secret
,note
,note_url
, andfingerprint
in the authorization request - Allow reusing an existing authorization
There is still one open issue here: github will return a hashed token and the last 8 characters when reusing a token, but these values are not provided to the callback, so the app cannot actually verify the token. I'll open a separate issue for that, as it might need incompatible changes to the API.
Just a few comments which need to be addressed.
@ankon Any update on this?
@ankon Could you give an update on this?
Oops, missed this. :/
I'm no longer using this library, so right now can not do any updates.