Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Unable to retrieve the refresh_token #124

Open
altera-ops opened this issue Feb 5, 2021 · 1 comment
Open

Unable to retrieve the refresh_token #124

altera-ops opened this issue Feb 5, 2021 · 1 comment

Comments

@altera-ops
Copy link

altera-ops commented Feb 5, 2021

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-s
Copy link

jasan-s commented Feb 9, 2021

@altera-ops any progress on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants