Untitled

 avatar
unknown
javascript
a year ago
198 B
4
Indexable
const jwt = require('jsonwebtoken');

const JWT_SECRET = '';

//create token sync

const token = jwt.sign({ data: {kelas: 'ecomm'} }, 
JWT_SECRET,
{ expiresIn: '15m' });
console.log(token);
Editor is loading...
Leave a Comment