Activities of "maliming"

I need to reproduce the problem locally to troubleshoot, Please share the full error context log.

hi

[15:48:26 INF] [Lenovo] AuthenticationScheme: "Bearer" was forbidden.

What about AuthServer's logs?

The roles seem to be missing in the token. Have you passed the roles in your scope?

context.Services.ConfigureShareCookies();


app.UseCookiePolicy();

public static class ShareCookiesServiceCollectionExtensions
{
        public static IServiceCollection ConfigureShareCookies(this IServiceCollection services)
        {
            services.Configure<CookiePolicyOptions>(options =>
            {
                var previousOnAppendCookie = options.OnAppendCookie;
                options.OnAppendCookie = cookieContext =>
                {
                    SetCookieDomain(cookieContext, null);
                    previousOnAppendCookie?.Invoke(cookieContext);
                };

                var previousOnDeleteCookie = options.OnDeleteCookie;
                options.OnDeleteCookie = cookieContext =>
                {
                    SetCookieDomain(null, cookieContext);
                    previousOnDeleteCookie?.Invoke(cookieContext);
                };
            });

            return services;
        }

        private static void SetCookieDomain(AppendCookieContext appendCookieContext, DeleteCookieContext deleteCookieContext)
        {
            if (appendCookieContext != null)
            {
                appendCookieContext.CookieOptions.Domain = ".abp.io";
            }

            if (deleteCookieContext != null)
            {
                deleteCookieContext.CookieOptions.Domain = ".abp.io";
            }
        }

}

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

I sent you a zip file containing my logs.

I didn't receive it. Can you confirm?

Please share your code to load editModal.js. Thanks

Index.js and modal.cshtml

hi

Can you reproduce the problem in a local development environment?

You can disable the Redis DistributedLock, I will check it in deep.

public override void ConfigureServices(ServiceConfigurationContext context)
{
    context.Services.Replace(ServiceDescriptor.Transient<IAbpDistributedLock, LocalAbpDistributedLock>());
}

Add the latest StackExchange.Redis package to your project?

hi

What are request logs in Logs.txt?

hi

Can you try using nginx as Ingress Service ?

hi

XXX.Web/Pages/Account/MySendSecurityCode.cshtml XXX.Web/Pages/Account/MySendSecurityCode.cshtml.cs

Showing 7721 to 7730 of 11554 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 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.