# Login required ERROR at every request

**URL:** <https://community.auth0.com/t/login-required-error-at-every-request/62933>\
**Category:** Get Help\
**Created:** [May 17, 2021, 4:03pm UTC](https://community.auth0.com/t/login-required-error-at-every-request/62933 "2021-05-17T16:03:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rluka996](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rluka996/32/29245_2.png) [@rluka996](https://community.auth0.com/u/rluka996)\
**Post date:** [May 17, 2021, 4:03pm UTC](https://community.auth0.com/t/login-required-error-at-every-request/62933/1 "2021-05-17T16:03:53Z")

</div>

I implemented Auth0 into my existing application, and now every request from my Angular component I try to make to my .net API ends up in error: Login Required. Angular route is not protected, and Controller in my API also doesn’t require Authentication or Authorization. Help?

ERROR Error: Login required  
at new n (auth0-spa-js.production.esm.js:15)  
at Function.n.fromPayload (auth0-spa-js.production.esm.js:15)  
at c (auth0-spa-js.production.esm.js:15)  
at ZoneDelegate.invokeTask (zone-evergreen.js:399)  
at Object.onInvokeTask (core.js:41803)  
at ZoneDelegate.invokeTask (zone-evergreen.js:398)  
at Zone.runTask (zone-evergreen.js:167)  
at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:480)  
at invokeTask (zone-evergreen.js:1621)  
at globalZoneAwareCallback (zone-evergreen.js:1647)

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [May 17, 2021, 5:04pm UTC](https://community.auth0.com/t/login-required-error-at-every-request/62933/2 "2021-05-17T17:04:28Z")

</div>

Hi @rluka996,

In order to help troubleshoot this, would you mind sharing your configs in your app’s `AuthModule.forRoot` (please be sure to remove any sensitive info such as client ID/domain)?

It sounds like silent authentication might be failing which occurs when 3rd-party cookies are blocked by the browser. If you configure your browser to allow 3rd-party cookies temporarily, does the error still occur? This test can help determine what might be happening.

[https://community.auth0.com/t/why-is-authentication-lost-after-refreshing-my-single-page-application/56276](https://community.auth0.com/t/why-is-authentication-lost-after-refreshing-my-single-page-application/56276)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 1, 2021, 5:05pm UTC](https://community.auth0.com/t/login-required-error-at-every-request/62933/4 "2021-06-01T17:05:13Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
