hi
You can add a IPostConfigureOptions
service and inject the services in it.
Services.TryAddEnumerable(ServiceDescriptor.Singleton<IPostConfigureOptions<OpenIdConnectOptions>, YourOpenIdConnectPostConfigureOptions>());
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/options?view=aspnetcore-7.0#options-post-configuration
https://github.com/dotnet/aspnetcore/blob/release/7.0/src/Security/Authentication/OpenIdConnect/src/OpenIdConnectPostConfigureOptions.cs#L16
hi
why you start using dbContext.SessionHandle?
You can take a look at this PR https://github.com/abpframework/abp/pull/5174
what is best decision for solve this problem?
You should use the session as you can.
hi
Please share the logs of 400
error.
You should use https
.
liming.ma@volosoft.com
hi
You can do this by overriding the default components.
https://support.abp.io/QA/Questions/160/How-to-customize-an-ABP-project
hi
You can global search the localhost
in your solution.
environment.ts
or environment.prod.ts
etc.
hi
Please check your web.config
file.
https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/iis/health-diagnostic-performance/http-error-405-website https://mozartec.com/asp-net-core-error-405-methods-not-allowed-for-put-and-delete-requests-when-hosted-on-iis/
Thanks
hi
Please share some info first. Then we can join a zoom meeting.
hi
I do not understand it very well. Can you share some screenshots, code and logs? Thanks
hi
Please share the logs.
There is a RedirectAllowedUrls
in the AppUrlOptions
You can add your URL to it or override the IsRedirectAllowedUrl
method of IAppUrlProvider
.