-
Notifications
You must be signed in to change notification settings - Fork 185
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
skipThrowForStatus
overrides oauth2 autoRefresh
#404
Comments
This issue has been copied into our private issue tracker (as PDE-2624). Thanks for the report! We'll update this as we learn more. |
Thanks @sillypirate! definitely seems like a bug; I'll take a look. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
Whenever you have
skipThrowForStatus: true
, it supersedes theautoRefresh: true
option in oauth2 setup, forcing developers to include az.errors.RefreshAuthError()
in their afterResponse middleware thatautoRefresh: true
should be handling.Reproduction Steps
Set both
skipThrowForStatus
andautoRefresh
to true. The autoRefresh will be ignored.Version Info
The text was updated successfully, but these errors were encountered: