0
ajayak created
4 Answer(s)
-
0
Hi @ajayak
Could you please verify if the Expire Time for
TokenValidityKey
is specified in theCreateJwtClaims
method within theTokenAuthController
? Additionally, could you confirm if a deletion process forTokenValidityKey
, as outlined below, is being performed in theLogOut
method in your project?var tokenValidityKeyInClaims = User.Claims.First(c => c.Type == AppConsts.TokenValidityKey); await RemoveTokenAsync(tokenValidityKeyInClaims.Value);
-
0
Hi @oguzhanagir,
There is no change made by me in
TokenAuthController.cs
class. It's all framework code.
TheLogout
method contains the code to remove token andCreateJwtClaims
contains the logic to add the expiration time for all tokens.
Note: I'm using Redis cache. -
0
Hi @ajayak
Thank you for your feedback. We have created an issue for this. You can follow the developments here. Thank you.
-
0
Thankyou