hi
What's your external Oauth (OpenId ) provider ?
Generally you need to override the OnGetExternalLoginCallbackAsync of LoginModel
hi
There seems the ChatConversations table has some wrong records.
How can I reproduce this? Is there any steps?
hi
Can I reproduce this in a new template project?
You can also try to clear the Reids.
I switched to True in database and tried to refresh the cache but that did not fix the issue.
hi
Please share the settings table records.
liming.ma@volosoft.com
Thanks, I will check it.
hi
Is the TenantId have a value?
Or specify the Nameof TenantId.
[BindProperty(Name = "__tenant", SupportsGet = true)]
public Guid? TenantId { get; set; }
You can do not to switch the tenant, the middleware will automatically resolve and switch the tenant by default
hi
I can sign in.
But I continue to get errors.
An error has occurred. This application may no longer respond until reloaded. Reload
Can you share the logs?
https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.components.server.circuitoptions.detailederrors?view=aspnetcore-7.0
services.AddServerSideBlazor().AddCircuitOptions(e=> {
e.DetailedErrors = true;
});
hi
public virtual async Task OnGetAsync()
{
//ReturnUrl = GetRedirectUrl(ReturnUrl, ReturnUrlHash);
ReturnUrl = _configuration["App:BlazorUrl"];
//TODO: It would be good to try to switch tenant if needed
//CheckCurrentTenant(TenantId);
using(CurrentTenant.Change(TenantId))
{
await _accountAppService.ConfirmEmailAsync(new ConfirmEmailInput {UserId = UserId, Token = ConfirmationToken});
}
}
hi
Please the code of TVD_Holdings_Ltd.AvalancheOCP.HttpApi.Host\Pages\Account\EmailConfirmation.cshtml.cs as well.
Thanks.
at Volo.Abp.Account.Public.Web.Pages.Account.AvalancheOCPEmailConfirmationModel.OnGetAsync() in D:\Source\AvalancheOCP\Dev\src\TVD_Holdings_Ltd.AvalancheOCP.HttpApi.Host\Pages\Account\EmailConfirmation.cshtml.cs:line 46