Hi guys, also same think randomly happens. InvalidOperationException: This endpoint is not expected to be executed directly. No luck for now. Env: Visual Studio Version 17.9.2 / 4.5

Nop.Services.Authentication.AuthenticationMiddleware.InvokeAsync(HttpContext context) in AuthenticationMiddleware.cs

                    if (result?.Principal != null)
                    {
                        context.User = result.Principal;
                    }
                }

                await _next(context);

            }
            #endregion
        }
    }