Skip to content

Commit

Permalink
chore: commentary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoshify committed Dec 18, 2024
1 parent 2f5eb9c commit 9a80b3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/jwt/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { validateToken as jwtValidator } from "@kinde/jwt-validator";
import { config } from "../../config";
import { jwtDecoder } from "@kinde/jwt-decoder";

// TODO: currently assumes that the token is valid
// currently assumes that the token is valid
// .. should we revalidate here as well? seems redundant
export const isTokenExpired = (token: string) => {
const decodedToken = jwtDecoder(token);

Expand Down

0 comments on commit 9a80b3c

Please sign in to comment.