This server only accepts HTTPS requests ID2083

error:invalid_request
error_description:This server only accepts HTTPS requests.
error_uri:https://documentation.openiddict.com/errors/ID2083

I’ve tried pretty much all the suggested solutions on the web and I still get this error.

I can get rid of this error by starting a fresh install of Umbraco15 on the server (SmarterASP.net).

As soon as I start publishing my website to SmarterASP.net either by FTP or WebDeploy. I get this error when accessing the backend. I get the error on both Google browser on Windows and android.

Thanks!

I was able to fix this issue by modifying the appsettings.json and adding these lines:

  "WebRouting": {
    "UmbracoApplicationUrl": "https://localhost:44341/"
  }