Skip to content
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

How to use refresh_token? #344

Open
WilsonTW opened this issue Feb 10, 2018 · 1 comment
Open

How to use refresh_token? #344

WilsonTW opened this issue Feb 10, 2018 · 1 comment

Comments

@WilsonTW
Copy link

Dear Sir,
I got refresh_token from "function (e, access_token, refresh_token, results)" and keep it. And then, how do I use it to refresh?
oauth2.refresh() or something? Thanks a lot.

@philals
Copy link

philals commented Apr 27, 2018

We did this for OAuth1 in this repo: https://github.com/XeroAPI/xero-node/blob/8d25d96edbf97e8125f8cf001177bc7e4a56f1d8/src/internals/OAuth1HttpClient.ts#L151

Not sure if it will help for OAuth2.

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

No branches or pull requests

2 participants