diff --git a/packages/text-to-speech/src/index.ts b/packages/text-to-speech/src/index.ts index d148204c5..08686e8dc 100644 --- a/packages/text-to-speech/src/index.ts +++ b/packages/text-to-speech/src/index.ts @@ -232,6 +232,7 @@ export const textToSpeechStreamingHandler = Sentry.GCPFunction.wrapHttpFunction( let claim: Claim try { + // ignore expiration for now and verify function will also decode the token claim = jwt.verify(token, process.env.JWT_SECRET, { ignoreExpiration: true, }) as Claim