I have a nextjs project and I need to verify if a twilio token is expired or not. I thought about using the library jwt-decode to decode the token and take the exp attribute from it, then compare it to the actual date. The problem is that the exp date seems to be broken because it is always in 1970.
Tag: twilio
Enable CORS from a Node.JS Callback Function
I’m attempting to use Twilio Functions to handle token generation for my Twilio application. I previously was using a Node.js + Express Server to accomplish this, but I do not know how to figure out …