You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
With the latest release, 8.0.0, when I make a simple request while I'm not authenticated yet, the request does not start and it gives a TimoutError:
Error: Uncaught (in promise): TimeoutError: Timeout has occurred at resolvePromise (zone.js:852) at resolvePromise (zone.js:809) at zone.js:913 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423) at Object.onInvokeTask (core.js:26760) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:422) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195) at drainMicroTaskQueue (zone.js:601) at push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask (zone.js:502) at ZoneTask.invoke (zone.js:487)
If I make a valid authentication so I have an access_token, the problem does not happen.
The problem does not happen also when setting sendAccessToken to false in the import of the module
Describe the bug
With the latest release, 8.0.0, when I make a simple request while I'm not authenticated yet, the request does not start and it gives a TimoutError:
Error: Uncaught (in promise): TimeoutError: Timeout has occurred at resolvePromise (zone.js:852) at resolvePromise (zone.js:809) at zone.js:913 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423) at Object.onInvokeTask (core.js:26760) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:422) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195) at drainMicroTaskQueue (zone.js:601) at push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask (zone.js:502) at ZoneTask.invoke (zone.js:487)
If I make a valid authentication so I have an access_token, the problem does not happen.
The problem does not happen also when setting
sendAccessToken
to false in the import of the moduleStackblitz example
https://stackblitz.com/edit/angular-pqssn1?embed=1&file=src/app/app.component.ts
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should make the request without the token
Desktop (please complete the following information):
Additional context
Might be related to
#587
and
#515
The text was updated successfully, but these errors were encountered: