{ "auth": "YOUR_SERVER_KEY", "payload": { ... } } function authenticate(req, res, next) { const key = r...