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

fix: un-deprecate refreshAccessToken method #672

Closed
wants to merge 1 commit into from
Closed

Conversation

JustinBeckwith
Copy link
Contributor

Fixes #575. In 3.0 we deprecated the refreshAccessToken method, thinking that it never made sense for users to call this method manually. It's called automatically (if needed) as part of the getRequestHeaders method which is generall used to obtain tokens. The user in #575 makes a good case for a few scenarios where this makes sense:

  • There are cases where you want to explicitly ask for a new token

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document correct OAuth2 handling of invalid_credentials errors vs deprecated methods
2 participants