Signing the URL
Generating the signature
import * as jsonwebtoken from 'jsonwebtoken';
import { v4 as uuid } from 'uuid';
const signature = jsonwebtoken.sign(
{
uid: uuid(),
},
YOUR_SIGNATURE_SECRET,
{
algorithm: 'HS256',
},
);Last updated

