Cookies will expire after 3 minutes. So click on another menu also will work.
Can you share an online URL?
It needs to be refreshed or click on other menus to navigate.
hi
Remove your previous code
builder.Services.AddAuthentication(options => { options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme; })
.AddCookie(options =>
{
options.ExpireTimeSpan = TimeSpan.FromMinutes(10);
options.SlidingExpiration = true;
});
add the new below:
private void ConfigureExternalProviders(ServiceConfigurationContext context, IConfiguration configuration)
{
context.Services.ConfigureApplicationCookie(options =>
{
options.ExpireTimeSpan = TimeSpan.FromMinutes(3);
options.SlidingExpiration = true;
options.Events.OnSigningIn = cookie =>
{
cookie.Properties.IsPersistent = true;
return Task.CompletedTask;
};
});
context.Services.AddAuthentication()
.AddGoogle(GoogleDefaults.AuthenticationScheme, _ => { })
.WithDynamicOptions<GoogleOptions, GoogleHandler>(
....
hi
I mean access_token.
Authorization: Bearer access_token....
hi
Is the ui angular?
hi
Please share the code of IntergenLabBlazorModule
Yes You can run abp clean command and remove the node_modules, then compess the folder.