Skip to content

Commit 1b7aacb

Browse files
committed
removed web validation expire date on JWT
1 parent e7b5c73 commit 1b7aacb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Infrastructure/Services/JwtTokenService.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public JwtTokenService(ISecretService secretService)
2727
IssuerSigningKey = new SymmetricSecurityKey(Encoding.ASCII.GetBytes(jwtSecret)),
2828
ValidateIssuer = false,
2929
ValidateAudience = false,
30-
ValidateLifetime = true
30+
ValidateLifetime = false
3131
};
3232
var tokenValidationResult = await tokenHandler.ValidateTokenAsync(token, validationParameters);
3333
if (!tokenValidationResult.IsValid)

0 commit comments

Comments
 (0)