console.log("make-token")

const jwt = require('jsonwebtoken');

let jwtSecretKey = process.env.JWT_SECRET_KEY || "momo";
let data = {
  "context": {
    "user": {
      "avatar": "https://robohash.org/john-doe",
      "name": "John Doe",
      "email": "jdoe@example.com"
    }
  },
  "aud": "my_jitsi_app_id",
  "iss": "my_jitsi_app_id",
  "sub": "meet.jitsi",
  "room": "*"
}

const token = jwt.sign(data, jwtSecretKey);

console.log(token)