hi
https://github.com/maliming/TestHost https://github.com/maliming/TestHost/commit/10b5a1fdc9f8da5cee38b2915d79254234eede1a
I send you an email from my personal email (rotahbashi)
You can create a new template project.
Looks like you change the authentication challenge, can we get the previous error instead of return to login page?
https://github.com/abpframework/abp/issues/9926 https://github.com/abpframework/abp/pull/9940 https://github.com/dotnet/aspnetcore/blob/9da42b9fab4c61fe46627ac0c6877905ec845d5a/src/Security/Authentication/Cookies/src/CookieAuthenticationEvents.cs#L46
hi
You can create a new unit of work.
using (CurrentTenant.Change(null))
{
using (var uow = _unitOfWorkManager.Begin(
requiresNew: true
))
{
// GetAsync works on host! It gets cached item from host.
var cachedClient = await _clientCache.GetAsync(identityClient.ClientId);
cachedClient.Enabled = false;
// But SetAsync does not work on host! It adds a new cached item under tenant folder on redis.
// Instead of overwriting the item on host folder.
await _clientCache.SetAsync(identityClient.ClientId, cachedClient, new DistributedCacheEntryOptions
{
AbsoluteExpirationRelativeToNow = _identityServerOptions.Caching.ClientStoreExpiration
},
considerUow: true);
await uow.CompleteAsync();
}
}
Can you try considerUow: false
We are currently focused on working on LeptonX theme. We want to release it as soon as possible, too. Development of theme is almost finished but there are still unresolved issues on Theme. After resolving them, it'll be released very soon.
hi
I don't think this is possible. But you can search it in Identity Server.
Today or tomorrow.
You can copy https://github.com/abpframework/abp/tree/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Blazor https://github.com/abpframework/abp/tree/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Blazor.Server to your project instead of using the package.