Unable to retrieve the refresh_token
altera-ops opened this issue · comments
altera-ops commented
Expected result
Alphanumeric refresh token.
Actual behaviour
Null output.
Reproducing
Modified the api code to include
api.refresh_token = function () {
return _private.refresh_token;
};
and attempted to retrieve the token after initializing Robinhood with my credentials and mfa code
console.log(Robinhood.refresh_token())
Note, I am successfully able to retrieve the auth_token as follows:
console.log(Robinhood.auth_token())
My goal is to retrieve the refresh_token and write a method to persist authentication past the 24 hour expiration.
Jasan commented
@altera-ops any progress on this?