I installed Commerce 9 in a new VM. Everything works fine, but when I am trying to open Bussiness Tools I got next exception :
In the content editor I could see all categories and products.
Sitecore Stack Exchange is a question and answer site for developers and end users of the Sitecore CMS and multichannel marketing software. It only takes a minute to sign up.
Sign up to join this communityI installed Commerce 9 in a new VM. Everything works fine, but when I am trying to open Bussiness Tools I got next exception :
In the content editor I could see all categories and products.
Go to the config.json of your CommerceAuthoring website such as:
\CommerceAuthoring_Sc9\wwwroot\config.json
In the AppSettings\AllowedOrigins, make sure that an entry to your BizFx's URL is in the list. It's normally, localhost:4200, but since you changed it, you need to update this config setting.
UPDATE
Per Andrey's comment, yes, the URLs are case-sensitive.
https://MyBizFx.url
, and you request it from https://mybizfx.url
, it won't work. please, add that to the answer
Jul 27, 2018 at 16:43
Can you make sure you have done all of the following steps:
Update the BizFxUri parameter in SitecoreBizFx\assets\config.json in your BizFx instance.
Update the AllowedOrigins parameter in wwwroot\config.json in your Commerce Engine instance. Double check here to make sure the protocol is https and not http.
Replace the default URL (localhost:4200) in the RedirectUris, PostLogoutRedirectUris, AllowedCorsOrigins parameters in SitecoreIdentityServer\wwwroot\appsettings.json in your Identity Server instance.
Reset IIS.
Finally, clear all browser cache and try again. This last step is important.