hi
There is RoleValidator service that you can override or remove.
https://github.com/dotnet/aspnetcore/blob/release/7.0/src/Identity/Core/src/IdentityServiceCollectionExtensions.cs#L85 https://github.com/dotnet/aspnetcore/blob/release/7.0/src/Identity/Extensions.Core/src/RoleValidator.cs#L34
hi
Please set the log level to Debug and share the logs of AuthServer and API website.
hi
Can you set the log level to Debug and share the logs.txt file?
Thanks
public async static Task<int> Main(string[] args)
{
Log.Logger = new LoggerConfiguration()
.MinimumLevel.Debug()
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
.WriteTo.Async(c => c.Console())
.CreateLogger();
hi
Please share the full logs.txt of your video, I guess the return url has wrong.
liming.ma@volosoft.com
Thanks
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.