hi
I will check this.
hi
Can you share the full steps so I can reproduce it in a new template project?
Thanks
hi
To reproduce it locally, you can set the ASPNETCORE_ENVIRONMENT
to Production
.
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-7.0
hi
There is a setting for the timezone. You can get it in your UI and display the time based on it.
https://docs.abp.io/en/abp/latest/Timing#timezone-setting
I will also create an issue on abp opensource side to add this setting in the setting management UI.
https://github.com/abpframework/abp/issues/16628
hi
Please share your project, Thanks
liming.ma@volosoft.com
hi
In ABP Commercial, can different tenant use different time zone, even just controlled through back-end without a user interface?
There is no such feature in abp commercials now, You have to implement it yourself
hi
Does this error occur every time?
hi
With other browser erase that tenant,
There should be an exception page if the current tenant is deleted or disabled.
hi
If you are using OpenIddict you can try to override the LogoutController
[HttpGet]
public virtual async Task<IActionResult> GetAsync()
{
// Ask ASP.NET Core Identity to delete the local and external cookies created
// when the user agent is redirected from the external identity provider
// after a successful authentication flow (e.g Google or Facebook).
await SignInManager.SignOutAsync();
// Returning a SignOutResult will ask OpenIddict to redirect the user agent
// to the post_logout_redirect_uri specified by the client application or to
// the RedirectUri specified in the authentication properties if none was set.
return SignOut(
authenticationSchemes: OpenIddictServerAspNetCoreDefaults.AuthenticationScheme,
properties: new AuthenticationProperties {RedirectUri = "/your_custom_url"});
}
https://github.com/abpframework/abp/blob/dev/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/LogoutController.cs
hi
But I need to reproduce the problem. The logs and screenshots don't help.