-
Notifications
You must be signed in to change notification settings - Fork 12
Add username/pwd auth support #281
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
Add username/pwd auth support #281
Conversation
Release version to master
ezewer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small question, rest looks fine
| apiKey = '', | ||
| apiSecret = '', | ||
| authToken = '', | ||
| ip = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No ip needed for authToken?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, it works without ip
and looks like ip was removed from libs
https://github.com/bitfinexcom/bitfinex-api-node/blob/master/index.js#L22
https://github.com/bitfinexcom/bfx-api-node-rest/blob/master/lib/rest2.js#L85
ezewer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me!
This PR adds corresponding changes to add BFX auth token support to framework mode. Basic changes:
invalidateAuthTokenandgenerateTokenendpoints