Order Management View When Opti ID Authentication is Enabled

  • Updated
Description

Order management view fails to display when Opti ID authentication is enabled.

TypeError: t.sent(...) data.map is not a function

 

The API of Order Management looks to be redirected to the login page:

 

Resolution
Use this code in Startup:
services.AddOptimizelyIdentity(useAsDefault: false, options =>
{
options.AdditionalPaths.Add("/csr"); // Order Managment View
});