Hi @Moyaoxiang, do you have any idea why it does not work?
Hi @Moyaoxiang, thanks for your prompt reply.
I have tried but it does not seem work, I set the ExpireTimeSpan = 10 mins and SlidingExpiration = true, then I left the application inactive for 11 mins, it did not force me to re-login, I was still able to using it.
context.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
.AddJwtBearer(options =>
{
options.Authority = configuration["AuthServer:Authority"];
options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]);
options.Audience = "TestingApplication";
})
.AddCookie("Cookies", options =>
{
options.ExpireTimeSpan = TimeSpan.FromMinutes(10);
options.SlidingExpiration = true;
});
Hi @maliming, so sorry, I am stuck in another urgent request meeting, can we rearrange the meeting to another time? please let me know your available time slots, I will tried to fit one of yours.
Hi @maliming, noted, thanks
Hi @maliming, sorry, can we have a call at the other time? how abt 02:00PM GMT+8?
Hi @maliming, I am able to download after upgrade the ABP CLI, thanks
Hi @maliming, I am using the ABP Suite version 4.0.2, should I upgrade it?
[17:37:50 INF] ABP CLI (https://abp.io) [17:37:51 INF] Version 4.0.2 (Stable) [17:37:53 WRN] ABP CLI has a newer stable version 4.1.2, please update to get the latest features and fixes. [17:37:53 WRN] [17:37:53 WRN] Update Command: [17:37:53 WRN] dotnet tool update -g Volo.Abp.Cli [17:37:53 WRN] Starting Suite v4.0.0 ... Opening http://localhost:3000
I tested again in my localhost with deployment in IIS, the same issue happens. It only works fine if we run it on IIS Express using visual studio.
Hi, I just tried, still got the same issue
Hi @maliming, I thought about that at first, so I have set the "IsEnabled": "false" for all the setting files, I also tried to delete all the appsettings and left the appsetings.json -> also got the same issue