Closed Nick8197 closed 6 years ago
I can confirm having this same issue this morning as well.
/robinbot/robinbot.js *** ROBINBOT (paper mode) today: 2018-09-12 07:32:40 Robinhood: authentication failed. Please check your credentials in conf.js
Bad news. I confirm that RH something changed in authentication :( Will look for solution. If anybody can help, I will appreciate it.
I opened an issue in the robinhood github hopefully someone finds the solution and you can fix it.
Thank you Yury for your prompt response. We appreciate very much any effort you make in resolving this issue.
I apologize, I thought I was posting in Robinhood GitHub, but I'll leave this here incase it is of any benefit for this page as well
I switched to using 'https://api.robinhood.com/oauth2/token/' with form requirements { grant_type: 'password', scope: 'internal', username: (your_username), password: (your_password), client_id: 'c82SH0WZOsabOXGP2sxqcj34FxkvfnWRZBKlBjFS' (for some reason the id is the same for everyone, at least for now) }
This will return 'access_token'.
All other headers requiring authorization when using the api will also need to be changed from 'Token' to 'Bearer' and then the access_token.
Thanks Jfors how can modify now to work with robinbot?
Unfortunately I'm not familiar with robinbot, I came looking here to see if there were any fixes for Robinhood GitHub and posted my findings here instead once I found a fix. I'll take a look through robinbot and see if the fix can be used.
@jfors26 If you able to update https://github.com/yura505/robinhood-node with new solution, robinbot will work.
https://github.com/Jamonek/Robinhood/issues/135
Looks like a fix. Someone will need to update via pull request I’m guessing
Any new information on this issue?
It’s been fixed yurt needs to update the node
It’s been fixed yurt needs to update the node
Will update today
Thanks Yury!
Fixed. Please run "npm update" and "npm install" to update robinhood-node
I am getting an authentication error check conf.js I have already double checked and it was working before today. Please advise