Hi,
OK, let me try and monitor.
Hi,
Unauthorized after 60 mins automatically.
CB button is very strange: I copy and paste, it auto remove <SecurityStampValidatorOptions> part
context.Services.ConfigureApplicationCookie(options => { options.ExpireTimeSpan = TimeSpan.FromDays(1); }); context.Services.Configure<SecurityStampValidatorOptions>(options => { options.ValidationInterval = TimeSpan.FromDays(1); });
context.Services.ConfigureApplicationCookie(options =>
{
options.ExpireTimeSpan = TimeSpan.FromDays(1);
});
context.Services.Configure<SecurityStampValidatorOptions>(options =>
{
options.ValidationInterval = TimeSpan.FromDays(1);
});
I tried to add above code to both AuthServerModule and WebModule but it doesn't fix the issue.
Hi,
In which module should I try that code?
Hi,
Thank you so much for your prompt support. It works now.
I use HTTP not HTTPS. In AdministrationService, it has the same setting and work fine (no need HTTPS).
"AuthServer": {
"Authority": "http://authserver:7000",
"RequireHttpsMetadata": "false",
"SwaggerClientId": "WebGateway_Swagger.DockerHttp"
},
"RemoteServices": {
"AbpIdentity": {
"BaseUrl": "http://identityservice.httpapi.host:7002/",
"UseCurrentAccessToken": "false"
}
},
"IdentityClients": {
"Default": {
"GrantType": "client_credentials",
"ClientId": "AdministrationService.DockerHttp",
"ClientSecret": "1q2w3e*",
"Authority": "http://authserver:7000",
"Scope": "IdentityService"
}
},
The escape character is added automatically when I copy and paste and then format it with code block. I saw the docker compose file of application template, it's the same as the one I created for microservice template. The problem is I can't trust the self-sign certificate which generated for each service domain name. Could you pls try to create a test app based on microservice template and configure docker compose for it to reproduce my issue?