Login required ERROR at every request

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)

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.

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