Thanks, Our angular team will confirm this.
hi
Please try this
PreConfigure<OpenIddictServerBuilder>(builder =>
{
builder
.SetAccessTokenLifetime(TimeSpan.FromSeconds(120))
.SetIdentityTokenLifetime(TimeSpan.FromSeconds(365));
});
You can share an online website. I will test it
liming.ma@volosoft.com
hi
Are you using angular for UI? Is your angular UI not logout after 5 minutes?
What's your abp version?
hi
After 1Hour if the user revisits the page then he/she will be asked to login again.
What's this UI?
Does the user revisit on MVC or angular page?
hi
What's your client? MVC or Blazor or Angular?
ConfigureApplicationCookie only works for MVC(AuthServer) side.
hi krapholo
The logs seem to be incomplete.
Please delete Logs.txt first, then run the backend and angular. End the application after reproducing the problem and share Logs.txt.
Try to set log level to Debug.
public class Program
{
public async static Task<int> Main(string[] args)
{
Log.Logger = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
.WriteTo.Async(c => c.Console())
.CreateLogger();
Thanks. I will check it asap
hi
Please share the full HTTP request logs of your Identity Server during logout. Thanks
liming.ma@volosoft.com
hi
Did you try this?
Navigation.NavigateToLogin("authentication/login");