Respond to 401 Unauthorized when login

After clone GitHub - metasfresh/metasfresh-docker, successfully build the image and start.but login failed,the response details are as follows:
{
“timestamp”: 1711292177.699000000,
“status”: 401,
“error”: “Unauthorized”,
“exception”: “de.metas.ui.web.login.exceptions.NotLoggedInException”,
“message”: “not logged in”,
“path”: “/rest/api/login/loginComplete”
}

  1. UPDATE “public”.“ad_sysconfig” SET “value” = ‘N’ WHERE “name” = ‘webui.frontend.allow-cross-site-usage’;
  2. UPDATE “public”.“ad_sysconfig” SET “value” = <Your frontend/server.js the value of variable listenHost > WHERE “name” = ‘webui.frontend.url’;

I did these steps but it didn’t help still cannot finalize login