Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
At present, it is used in the internal environment, enable https for some system modifications is too large, how to disable https
Serve your authserver under HTTP (without HTTPS redirection).
Confirm you have HTTP issuer under
.well-known/openid-configuration
endpoint.Update your application's appsettings
AuthServer
section and setRequireHttpsMetadata
to false.
Hi gterdem
Following the above practices was not successful, the following are error messages
error:invalid_request error_description:This server only accepts HTTPS requests. error_uri:https://documentation.openiddict.com/errors/ID2083
hi maliming
It didn't work.
Can you try to use
Configure
?Configure<OpenIddictServerAspNetCoreBuilder>(configure => { configure.DisableTransportSecurityRequirement(); });
After trying to add the following configuration, it works.
Configure(options =>
{
options.DisableTransportSecurityRequirement = true;
});