Whenever you have skipThrowForStatus: true, it supersedes the autoRefresh: true option in oauth2 setup, forcing developers to include a z.errors.RefreshAuthError() in their afterResponse middleware that autoRefresh: true should be handling.
Reproduction Steps
Set both skipThrowForStatus and autoRefresh to true. The autoRefresh will be ignored.
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