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
refresh() API does not work #424
Comments
Also getting this error. Any work around? |
I'm getting the same issue. It returns |
Hey @pathikrit. Did you tried my suggestion at your previous issue? Did it worked? If not, how is it failing? This kind of issue is mostly a matter of configuration. Cannot suggest anything more specific, as it is highly dependent on the particular OAuth2 server provider and I do not have the time to dig into each specific provider's requirements. For anyone else facing this issue, please open a new issue with the specific details of your issue. Just posting that you are having the same problem won't help at all, because again, most of the time is a configuration change that it is highly dependent on each provider. |
Still failing in same way. As I said, the error is happening because I don't auth headers in the refresh request (see #32) and the fix in #54 was never merged |
Context
What are you trying to achieve or the steps to reproduce?
accessToken.refresh()
does not work. #420 was closed since it did not use the issue template. So recreating the issue with the template.The following piece of code works fine:
However, if I change it use the refresh API, it does not work:
What was the result you got?
What result did you expect?
Not an error. This might be because the library is putting auth headers for the refresh request (see #32) but #54 was never merged.
The text was updated successfully, but these errors were encountered: