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.
hi
Authenticationscheme : openIddict. validation.AspNetcore was not authenticated.
Does your request carry the access_token?
You're welcome. : )
hi
You can try graphbuild, The graphBuild ensures that referenced projects are built after the projects they depend on.
dotnet build /graphbuild