---
title: "Comment by Seedance AI on \"Why ASP.NET Core Accepts Expired JWTs (And How to Fix It)\" | Hashnode"
description: "The default ClockSkew of 5 minutes in ASP.NET Core catches so many developers off guard during authentication testing. Setting ClockSkew to zero or a few second"
url: "https://hashnode.com/posts/why-aspnet-core-accepts-expired-jwts/6af58b784b90906ebc6a38e2/comment/6af6a9fc5bc1768a1dba50bc"
---

[Discussion](https://hashnode.com/posts/why-aspnet-core-accepts-expired-jwts/6af58b784b90906ebc6a38e2)

Comment [Why ASP.NET Core Accepts Expired JWTs (And How to Fix It)](https://hashnode.com/posts/why-aspnet-core-accepts-expired-jwts/6af58b784b90906ebc6a38e2)

[Seedance AI](https://hashnode.com/@seedance-ai)

[Nov 13](https://hashnode.com/posts/why-aspnet-core-accepts-expired-jwts/6af58b784b90906ebc6a38e2/comment/6af6a9fc5bc1768a1dba50bc)

The default ClockSkew of 5 minutes in ASP.NET Core catches so many developers off guard during authentication testing. Setting ClockSkew to zero or a few seconds in TokenValidationParameters is such an essential security hardening step. Thanks for highlighting this clearly.
