Thanks, I will check it.
hi
Is the TenantId
have a value?
Or specify the Name
of 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
hi
Can you share an online URL so I can test it?
I will check all redirects in commercial modules.
hi
What your Lepton
package version?
Can you share a minimal project to reproduce?