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

Give More Specific OAuth2.0 Error Message if Token Cannot be Refreshed #516

Closed
StevenMMortimer opened this issue Mar 30, 2018 · 0 comments
Closed

Comments

@StevenMMortimer
Copy link

@StevenMMortimer StevenMMortimer commented Mar 30, 2018

Currently, when tokens cannot be refreshed a generic warning message is printed "Unable to refresh token"

warning("Unable to refresh token", call. = FALSE)

A number of more specific error messages are being trapped by known_oauth2.0_error() here

oauth2.0_errors <- c(

Is it possible to print out any of the trapped error messages so that we can get some more detail on how to debug if a token cannot be refreshed.

hadley added a commit that referenced this issue Nov 23, 2018
Fixes #516
@hadley hadley added the wip label Nov 23, 2018
@hadley hadley closed this in a28b4e7 Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants