I\'m trying to force the user to logout if his account is expired. I\'m using Asp.Net MVC core 3, And here one of the solution I got.
I added new class under Services