You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expiresIn: expressed in seconds or a string describing a time span vercel/ms.
Eg: 60, "2 days", "10h", "7d". A numeric value is interpreted as a seconds count. If you use a string be sure you provide the time units (days, hours, etc), otherwise milliseconds unit is used by default ("120" is equal to "120ms").
This will improve the DX as we dont have to convert the time to ms everytime manually
expiresIn
: expressed in seconds or a string describing a time span vercel/ms.Eg: 60, "2 days", "10h", "7d". A numeric value is interpreted as a seconds count. If you use a string be sure you provide the time units (days, hours, etc), otherwise milliseconds unit is used by default ("120" is equal to "120ms").
This will improve the DX as we dont have to convert the time to ms everytime manually
cc: Fastify jwt uses https://github.com/lukeed/ms underneath
The text was updated successfully, but these errors were encountered: