Activities of "maliming"

hi

When you directly or indirectly reference the AbpCachingStackExchangeRedisModule module, Redis is used by default.

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Caching.StackExchangeRedis/Volo/Abp/Caching/StackExchangeRedis/AbpCachingStackExchangeRedisModule.cs#L21

https://docs.abp.io/en/abp/latest/Redis-Cache#configuration

hi

[INF] AuthenticationScheme: Cookies was forbidden. 2023-01-13 07:15:27.044 +00:00 [INF] AuthenticationScheme: oidc was forbidden. 2023-01-13 07:15:27.052 +00:00

I see that the app's cookie authentication fails. However, the app's cookie is valid for 1 year, and I'm wondering why it doesn't work.

Can the problem be reproduced in a local development environment?

hi

I will test this.

hi

Try to rename your class as ScrollToTopComponent

What's your code?

hi

You can try to add a Layout-Hooks

https://docs.abp.io/en/abp/latest/UI/Blazor/Layout-Hooks

I want to use redis cache with IDistributedCache.

There will be no problem using Redis with IDistributedCache.

And I want to manage cache data to add, remove notification operation.

Redis as a backplane and use IDistributedCache to manage messages, I think there may be problems. This is not recommended.

hi

The requested service 'Volo.Abp.Account.Public.Web.Pages.Account.LogoutModel' has not been registered.

hi

Do you have CustomLogoutModel class?

If so please change the ExposeServices attribute just like CustomLoginModel.

[ExposeServices(typeof(CustomLoginModel), typeof(IdentityServerSupportedLoginModel))]
public class CustomLoginModel : IdentityServerSupportedLoginModel

hi

Do you have similar code in your web project?

Is the ExpireTimeSpan set to 365 days?

context.Services.AddAuthentication(options =>
{
    options.DefaultScheme = "Cookies";
    options.DefaultChallengeScheme = "oidc";
})
.AddCookie("Cookies", options =>
{
    options.ExpireTimeSpan = TimeSpan.FromDays(365);
})

hi

You can try this.

https://community.abp.io/posts/patch-for-chrome-login-issue-identityserver4-samesite-cookie-problem-weypwp3n

Showing 7911 to 7920 of 11550 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.