The default Commerce Engine implementation has a hard-coded Identity Server Api name & secret:
.AddIdentityServerAuthentication(options =>
{
options.Authority = this.Configuration.GetSection("AppSettings:SitecoreIdentityServerUrl").Value;
options.RequireHttpsMetadata = false;
options.EnableCaching = false;
options.ApiName = "EngineAPI";
options.ApiSecret = "secret";
});
Should I change the ApiSecret
to a more secure string for production usage?