hi
In addition only the first two times GetExternalLoginInfoAsync returns a non-null response, on the third and final call, I have no ExternalLogin context left anymore. (I suppose this is when OpenIddict issues its own Identity?)
You can ignore this case, It's the same as if (identity == null), the claim has been added to the current user
Can you add some custom claims to my account?
liming.ma@volosoft.com
I will try to get it instead of reading the database.
Thanks.
hi
I checked the logs.
The await uow.CompleteAsync(StoppingToken); throw the exception.
And await Inbox.MarkAsProcessedAsync(waitingEvent.Id); will rollback because the transaction has failed.
Can you set LogLevel to Debug to see more EF Core logs?
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Debug)
Thanks.
hi
Can you try to save the current unit of work?
await _repository.InsertAsync(appLicence, true);
or
//Inject _unitOfWorkManager
await _unitOfWorkManager.Current.SaveChangesAsync();
hi
The quickest way is not to set ActivationEndDate.
Its purpose is to limit the tenant, if you don't need it, you can ignore it.
Thanks.
hi
Which line will throw the exception?
Thanks.
hi
The problem is that the Processed flag is being set to true even when an exception is thrown during event handling. This results in the event being marked as processed, despite not being successfully handled.
Can you share your event handler code?
Thanks
hi
1.
Removing QueryStringTenantResolveContributor and CookieTenantResolveContributor will hide the tenant selection in the login page.
Configure<AbpTenantResolveOptions>(options =>
{
options.TenantResolvers.RemoveAll(resolver =>
resolver is QueryStringTenantResolveContributor or CookieTenantResolveContributor);
});
2.
If you don't want to remove them, you can override the MVC theme account layout page.
see https://github.com/abpframework/abp/blob/dev/modules/basic-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Themes/Basic/Layouts/Account.cshtml#L70-L72
Thanks.
hi
An independent module as a microservice is the current architectural approach. Of course, you can also integrate multiple related modules into a single microservice. Both options are fine, it depends on your specific business needs.
Thanks.